On Sun, May 01, 2011 at 09:46:51PM -0700, Rich Wales wrote:
> [Short version of my question: Is there any way to enable sender-
> dependent authentication *only* when mail is being sent out via my
> smtp_fallback_relay host, and *not* when I am sending mail directly
> to a destination MX? I do not have any "relayhost" defined because
> I am trying to send mail directly to a destination.]
You have to use a fallback relay setting that sends the mail to a second
Postfix instance on your machine, and have that instance send all mail
to the relay, with sender-dependent authentication.
smtp_fallback_relay=[127.0.0.1]:10035
This would be a full Postfix instance, not just another master.cf entry:
http://www.postfix.org/MULTI_INSTANCE_README.html
--
Viktor.