/[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 293 by misc, Thu Nov 18 18:19:21 2010 UTC revision 294 by misc, Thu Nov 18 22:34:59 2010 UTC
# Line 23  mail_owner = postfix Line 23  mail_owner = postfix
23    
24  # User configurable parameters  # User configurable parameters
25    
26    <% if classes.include?('postfix::simple_relay') %>
27  inet_interfaces = localhost  inet_interfaces = localhost
28    <% else %>
29    inet_interfaces = all
30    <% end %>
31    
32  inet_protocols = all  inet_protocols = all
33  mynetworks_style = host  mynetworks_style = host
34  myhostname = <%= fqdn %>  myhostname = <%= fqdn %>
35  mydomain = <%= domain %>  mydomain = <%= domain %>
36  mydestination = <%= fqdn %>  mydestination = <%= fqdn %>
37  myorigin = $mydomain  myorigin = $mydomain
38    <%- if classes.include?('postfix::smtp_server') -%>
39  relay_domains = $mydestination,  relay_domains = $mydestination,
40                  ml.<%= domain %>,                  ml.<%= domain %>,
41  <%- if classes.include?('primary_smtp') -%>  <%- if classes.include?('postfix::primary_smtp') -%>
42                  <%= domain %>                  <%= domain %>
43  <%- end -%>  <%- end -%>
44  transport_maps = regexp:/etc/postfix/transport_regexp  transport_maps = regexp:/etc/postfix/transport_regexp
# Line 49  smtpd_use_tls = yes Line 55  smtpd_use_tls = yes
55  smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem  smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem
56  smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem  smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem
57  smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt  smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
58    
59    <% if classes.include?('postfix::smtp_server') %>
60    smtpd_recipient_restrictions =
61    #    not done yet
62    #    permit_sasl_authenticated
63        permit_mynetworks
64        reject_unauth_destination
65        reject_unauth_pipelining
66        reject_non_fqdn_recipient
67        reject_non_fqdn_sender
68        reject_non_fqdn_hostname
69        reject_invalid_hostname
70        reject_unknown_recipient_domain
71        reject_unknown_sender_domain
72        reject_unknown_client
73      <% if classes.include?('postgrey') %>
74        check_policy_service unix:extern/postgrey/socket
75      <% end %>
76    <% end %>
77    

Legend:
Removed from v.293  
changed lines
  Added in v.294

  ViewVC Help
Powered by ViewVC 1.1.30