disallow anonymous sals auth

This commit is contained in:
Sebastian Hugentobler 2021-09-28 09:46:55 +02:00
parent 9baf8a977b
commit f1a5e84b09
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -53,8 +53,9 @@ smtp_tls_session_cache_database = lmdb:${data_directory}/smtp_scache
smtpd_sasl_type = dovecot smtpd_sasl_type = dovecot
smtpd_sasl_path = inet:{{getenv "DOVECOT_HOST"}}:{{getenv "DOVECOT_AUTH_PORT"}} smtpd_sasl_path = inet:{{getenv "DOVECOT_HOST"}}:{{getenv "DOVECOT_AUTH_PORT"}}
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,defer_unauth_destination smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, reject_unverified_recipient smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, reject_unverified_recipient
#smtpd_milters = #smtpd_milters =