diff --git a/templates/master.cf.j2 b/templates/master.cf.j2 index d0d0ea1..36909cc 100644 --- a/templates/master.cf.j2 +++ b/templates/master.cf.j2 @@ -16,17 +16,17 @@ smtp inet n - y - - smtpd #tlsproxy unix - - y - 0 tlsproxy {% if "submission" in postfix and postfix.submission %} submission inet n - y - - smtpd + -o smtpd_relay_restrictions=permit_sasl_authenticated,reject + -o smtpd_tls_security_level=encrypt + -o syslog_name=postfix/submission + -o smtpd_sasl_auth_enable=yes + -o smtpd_reject_unlisted_recipient=no + -o smtpd_client_restrictions=$mua_client_restrictions + -o smtpd_helo_restrictions=$mua_helo_restrictions + -o smtpd_sender_restrictions=$mua_sender_restrictions + -o smtpd_recipient_restrictions= + -o milter_macro_daemon_name=ORIGINATING {% endif %} -# -o syslog_name=postfix/submission -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_reject_unlisted_recipient=no -# -o smtpd_client_restrictions=$mua_client_restrictions -# -o smtpd_helo_restrictions=$mua_helo_restrictions -# -o smtpd_sender_restrictions=$mua_sender_restrictions -# -o smtpd_recipient_restrictions= -# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING #smtps inet n - y - - smtpd # -o syslog_name=postfix/smtps # -o smtpd_tls_wrappermode=yes