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

Annotation of /puppet/modules/postfix/templates/secondary_main.cf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 287 - (hide annotations) (download)
Thu Nov 18 18:15:00 2010 UTC (9 years, 8 months ago) by misc
File size: 1826 byte(s)
- merge primary config file to the secondary one
- add some check in transport regexp

1 misc 33 # Please be sure to read the /usr/share/doc/postfix/README.MDK file
2     # to learn about differences from stock postfix to Mandriva package.
3     # This file contains only the parameters changed from a default install
4     # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
5    
6 misc 37 <%
7     path_daemon_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/postfix/"
8     %>
9    
10 misc 33 # These are changed by postfix install script
11     readme_directory = /usr/share/doc/postfix/README_FILES
12     html_directory = /usr/share/doc/postfix/html
13     sendmail_path = /usr/sbin/sendmail.postfix
14     setgid_group = postdrop
15     command_directory = /usr/sbin
16     manpage_directory = /usr/share/man
17     daemon_directory = <%= path_daemon_directory %>
18     data_directory = /var/lib/postfix
19     newaliases_path = /usr/bin/newaliases
20     mailq_path = /usr/bin/mailq
21     queue_directory = /var/spool/postfix
22     mail_owner = postfix
23    
24     # User configurable parameters
25    
26     inet_interfaces = localhost
27     inet_protocols = all
28     mynetworks_style = host
29 boklm 275 myhostname = <%= fqdn %>
30     mydomain = <%= domain %>
31     mydestination = <%= fqdn %>
32     myorigin = $mydomain
33 misc 287 relay_domains = $mydestination,
34     ml.<%= domain %>,
35     <%- if classes.include?('primary_smtp') -%>
36     <%= domain %>
37     <%- end -%>
38     transport_maps = regexp:/etc/postfix/transport_regexp
39     <% if classes.include?('sympa') %>
40     sympa_destination_recipient_limit = 1
41     sympabounce_destination_recipient_limit = 1
42     <% end %>
43 misc 33 #delay_warning_time = 4h
44     smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
45     unknown_local_recipient_reject_code = 450
46     smtp-filter_destination_concurrency_limit = 2
47     lmtp-filter_destination_concurrency_limit = 2
48     smtpd_use_tls = yes
49     smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem
50     smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem
51     smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt

  ViewVC Help
Powered by ViewVC 1.1.28