I'm running Postfix 2.6.5.

Is there any way to specify that sender-dependent SASL password data
should be used only when talking to one specific relay host?

Depending on the destination of a message, I need to use two different
relay hosts (defined in transport_maps).  One of these relays demands
authentication via a sender-dependent username and password -- but the
other relay doesn't need (or want) any authentication at all.

Right now, my Postfix setup is insisting on trying to authenticate based
solely on the sender address, no matter which relay host the message is
using -- and this is messing up delivery to the relay that doesn't need
or want to see authentication.

A related question would be how I can specify different sets of sender-
dependent passwords for different relay hosts -- i.e., a given sender
address would use one username/password when sending to one relay, and
a different username/password when sending to another relay.  But for
the moment, I'd be content simply to have authentication for one and
only one of the relays I need to use.

-- 
Rich Wales
[email protected]

Reply via email to