Reject unknown sender domains in postfix

This commit is contained in:
Kevin MacMartin 2017-02-07 19:39:12 -05:00
parent 1546a82875
commit cce7f3ac42

View file

@ -43,7 +43,7 @@ smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_security_options = noanonymous smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname smtpd_sasl_local_domain = $myhostname
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unknown_sender_domain
non_smtpd_milters=inet:127.0.0.1:8891 non_smtpd_milters=inet:127.0.0.1:8891
smtpd_milters=inet:127.0.0.1:8891 smtpd_milters=inet:127.0.0.1:8891