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.