I need to vary my outgoing SMTP credentials based on the sender's domain. I
have set `smtp_sender_dependent_authentication = yes` and
`smtp_sasl_password_maps`. However, I am unable to fully achieve my goal
because of a surprising behavior in the system.
My goal is to resolve most domains using a
If I understand correctly, you simply changed which part of the regular
expression was captured. That does not solve my problem, as it still will
cause all requests to hit the database, even when the domain exists in the
hash file.
Desired flow when the sender's domain DOES exist in the hash file: