disallow anonymous sals auth

This commit is contained in:
Sebastian Hugentobler 2021-09-28 10:19:16 +02:00
parent 6b94c4ddf1
commit 4b0cf8b447
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 8 additions and 2 deletions

View File

@ -57,7 +57,6 @@ smtpd_tls_auth_only = yes
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_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, reject_unverified_recipient
#smtpd_milters =

View File

@ -2,7 +2,14 @@ submission inet n - - - - smtpd
-o tls_preempt_cipherlist=yes
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_tls_auth_only=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
smtp inet n - n - - smtpd
pickup unix n - n 60 1 pickup