I just got smtpd_sender_maps to work with smtpd_sender_restrictions using 
reject_authenticated_sender_login_mismatch.

While researching how that worked, I saw information indicating that you could 
apply the reject_sender_login_mismatch to the smtpd_recipient_restrictions.

Can someone explain how that would work? I am picturing mail being delivered to 
one of my users from the internet. How does my mail server know if the sender, 
of a message from outside of my domain, has a login mismatch?

Thank you in advance for your help wrapping my brain around this concept.


smtpd_recipient_restrictions are applied at the RCPT TO: stage (that is, after connection, HELO, and MAIL FROM). Where you apply a restriction is only limited by the /first/ stage it may appear in - all restrictions may appear in smtpd_recipient_restrictions, since it is the last one.

Of course, this setting has no effect for non-authenticated connections.

J.


Reply via email to