From 837334f1b5212f8fc5345c790556fa76d8670006 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 16 Nov 2010 16:05:30 +0000 Subject: add config for primary mail server (not ready for use yet) --- modules/postfix/templates/primary_main.cf | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 modules/postfix/templates/primary_main.cf (limited to 'modules') 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 -- cgit v1.2.1