no longer open relay for submission ...

This commit is contained in:
nd 2018-09-23 20:51:29 +02:00
parent cb72670eb1
commit 78abfca2b9
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -16,17 +16,17 @@ smtp inet n - y - - smtpd
#tlsproxy unix - - y - 0 tlsproxy #tlsproxy unix - - y - 0 tlsproxy
{% if "submission" in postfix and postfix.submission %} {% if "submission" in postfix and postfix.submission %}
submission inet n - y - - smtpd 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 %} {% 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 #smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps # -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes # -o smtpd_tls_wrappermode=yes