On 19/01/2026 16:46, Dennis Putnam via Postfix-users wrote:
I have a situation where I need to use different relay logins to the same host depending on the local sender. For example:

If the local user is [email protected] the the relay host login needs to be [email protected].

However, if the local user is [email protected] then the relay host login needs to be [email protected].

It seems that relay_sender only maps to one login:

[email protected] [smtp.relay.com]:587
[email protected]     [smtp.relay.com]:587

And of course in sasl_password:

[smtp.relay.com]:587      uuuuuu:keystring
[smtp.relay.com]:587      xxxx:anotherkeystring

Is there not a way to distinguish which login to use in this case? If so, how? TIA

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Hi Dennis

I saw a section here on how to configure a sender dependent SASL authentication:

https://www.postfix.org/SASL_README.html

using smtp_sender_dependent_authentication

John


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to