diff options
author | Nicolas Vigier <boklm@mageia.org> | 2010-11-18 00:57:00 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2010-11-18 00:57:00 +0000 |
commit | c3a0e668bec66f847b107e7abc1ff1c215ee3b87 (patch) | |
tree | 79ffe7c6d9de2fe7be544dc0bd3fd82b5102a5c4 /modules/postfix | |
parent | 18b2e6bb69813215662e4d25601840ebca79f3e8 (diff) | |
download | puppet-c3a0e668bec66f847b107e7abc1ff1c215ee3b87.tar puppet-c3a0e668bec66f847b107e7abc1ff1c215ee3b87.tar.gz puppet-c3a0e668bec66f847b107e7abc1ff1c215ee3b87.tar.bz2 puppet-c3a0e668bec66f847b107e7abc1ff1c215ee3b87.tar.xz puppet-c3a0e668bec66f847b107e7abc1ff1c215ee3b87.zip |
add config for secondary MX
Diffstat (limited to 'modules/postfix')
-rw-r--r-- | modules/postfix/templates/secondary_main.cf | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/postfix/templates/secondary_main.cf b/modules/postfix/templates/secondary_main.cf new file mode 100644 index 00000000..ae27ac00 --- /dev/null +++ b/modules/postfix/templates/secondary_main.cf @@ -0,0 +1,42 @@ +# Please be sure to read the /usr/share/doc/postfix/README.MDK file +# to learn about differences from stock postfix to Mandriva package. +# This file contains only the parameters changed from a default install +# see /etc/postfix/main.cf.dist for a commented, fuller version of this file. + +<% +path_daemon_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/postfix/" +%> + +# These are changed by postfix install script +readme_directory = /usr/share/doc/postfix/README_FILES +html_directory = /usr/share/doc/postfix/html +sendmail_path = /usr/sbin/sendmail.postfix +setgid_group = postdrop +command_directory = /usr/sbin +manpage_directory = /usr/share/man +daemon_directory = <%= path_daemon_directory %> +data_directory = /var/lib/postfix +newaliases_path = /usr/bin/newaliases +mailq_path = /usr/bin/mailq +queue_directory = /var/spool/postfix +mail_owner = postfix + +# User configurable parameters + +inet_interfaces = localhost +inet_protocols = all +mynetworks_style = host +myhostname = <%= fqdn %> +mydomain = <%= domain %> +mydestination = <%= fqdn %> +myorigin = $mydomain +relay_domains = $mydestination, ml.<%= domain %>, <%= domain %> +#delay_warning_time = 4h +smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) +unknown_local_recipient_reject_code = 450 +smtp-filter_destination_concurrency_limit = 2 +lmtp-filter_destination_concurrency_limit = 2 +smtpd_use_tls = yes +smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem +smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem +smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt |