[pfx] Resolve sender domains in file before resorting to database

2024-02-26 Thread Joshua Flanagan via Postfix-users
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

[pfx] Re: Resolve sender domains in file before resorting to database

2024-02-26 Thread Joshua Flanagan via Postfix-users
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: