On Fri, Jun 12, 2009 at 10:25:27PM -0400, Gerard wrote:

> I still am having a problem getting 'sender_dependent_relaying" to work.
> 
> This is a snippet of the sender_relay file:
> 
> gmail.com     smtp:smtp.gmail.com:587
> yahoo.com     smtp:smtp.plus.mail.yahoo.com:587

Well, this is transport(5) value.

> sender_dependent_relayhost_maps = hash:/usr/local/etc/postfix/sender_relay

This is a mechanism for overriding the default *nexthop*. Why do you
expect a transport value to work in this context?

Try:

    gmail.com   [smtp.gmail.com]:587
    yahoo.com   [smtp.plus.mail.yahoo.com]:587

and adjust lookup keys in smtp_sasl_password_maps accordingly.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to