/[adm]/puppet/modules/postfix/templates/main.cf
ViewVC logotype

Diff of /puppet/modules/postfix/templates/main.cf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 325 by misc, Thu Nov 18 22:34:59 2010 UTC revision 326 by misc, Fri Nov 19 20:18:57 2010 UTC
# Line 42  relay_domains = $mydestination, Line 42  relay_domains = $mydestination,
42                  <%= domain %>                  <%= domain %>
43  <%- end -%>  <%- end -%>
44  transport_maps = regexp:/etc/postfix/transport_regexp  transport_maps = regexp:/etc/postfix/transport_regexp
45    
46  <% if classes.include?('sympa') %>  <% if classes.include?('sympa') %>
47  sympa_destination_recipient_limit = 1  sympa_destination_recipient_limit = 1
48  sympabounce_destination_recipient_limit = 1  sympabounce_destination_recipient_limit = 1
49  <% end %>  <% end %>
50    
51  #delay_warning_time = 4h  #delay_warning_time = 4h
52  smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)  smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
53  unknown_local_recipient_reject_code = 450  unknown_local_recipient_reject_code = 450
# Line 57  smtpd_tls_key_file = /etc/pki/tls/privat Line 59  smtpd_tls_key_file = /etc/pki/tls/privat
59  smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt  smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
60    
61  <% if classes.include?('postfix::smtp_server') %>  <% if classes.include?('postfix::smtp_server') %>
62    smtpd_etrn_restrictions = reject
63    
64    smtpd_helo_required = yes
65    
66    smtpd_data_restrictions = reject_unauth_pipelining
67                              reject_multi_recipient_bounce
68    
69  smtpd_recipient_restrictions =  smtpd_recipient_restrictions =
70  #    not done yet  #    not done yet
71  #    permit_sasl_authenticated  #    permit_sasl_authenticated
     permit_mynetworks  
     reject_unauth_destination  
     reject_unauth_pipelining  
72      reject_non_fqdn_recipient      reject_non_fqdn_recipient
73      reject_non_fqdn_sender      reject_non_fqdn_sender
74      reject_non_fqdn_hostname      permit_mynetworks
75      reject_invalid_hostname      reject_unauth_destination
76      reject_unknown_recipient_domain      reject_non_fqdn_helo_hostname
77      reject_unknown_sender_domain      reject_unknown_sender_domain
78      reject_unknown_client      reject_unknown_client
79    <% if classes.include?('postgrey') %>    <% if classes.include?('postgrey') %>

Legend:
Removed from v.325  
changed lines
  Added in v.326

  ViewVC Help
Powered by ViewVC 1.1.28