diff options
author | Nicolas Vigier <boklm@mageia.org> | 2010-11-16 16:05:30 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2010-11-16 16:05:30 +0000 |
commit | 837334f1b5212f8fc5345c790556fa76d8670006 (patch) | |
tree | c78ca659df9bd41cd55c9b676d2b7be6a8cf82d1 /modules/postfix/templates/primary_main.cf | |
parent | 0738fe7b35c68ff1c7af270c51dec0f185d67932 (diff) | |
download | puppet-837334f1b5212f8fc5345c790556fa76d8670006.tar puppet-837334f1b5212f8fc5345c790556fa76d8670006.tar.gz puppet-837334f1b5212f8fc5345c790556fa76d8670006.tar.bz2 puppet-837334f1b5212f8fc5345c790556fa76d8670006.tar.xz puppet-837334f1b5212f8fc5345c790556fa76d8670006.zip |
add config for primary mail server (not ready for use yet)
Diffstat (limited to 'modules/postfix/templates/primary_main.cf')
-rw-r--r-- | modules/postfix/templates/primary_main.cf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/modules/postfix/templates/primary_main.cf b/modules/postfix/templates/primary_main.cf new file mode 100644 index 00000000..4281f42d --- /dev/null +++ b/modules/postfix/templates/primary_main.cf @@ -0,0 +1,41 @@ +# 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 %>, ml.<%= domain %> +myorigin = $mydomain +#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 |