disallow anonymous sals auth

This commit is contained in:
Sebastian Hugentobler 2021-09-28 10:12:12 +02:00
parent 067644f15c
commit 6b94c4ddf1
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -7,7 +7,7 @@ myorigin = $mydomain
mydestination = localhost mydestination = localhost
unknown_local_recipient_reject_code = 550 unknown_local_recipient_reject_code = 550
mynetworks_style = subnet mynetworks_style = host
relay_domains = $mydestination relay_domains = $mydestination
recipient_delimiter = + recipient_delimiter = +
@ -57,6 +57,7 @@ smtpd_tls_auth_only = yes
smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_tls_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_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 =