OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Sender_Dependent_Relayhost_Maps

From: Magnus Bäck (magnusdsek.lth.se)
Date: Sat Jun 13 2009 - 01:32:10 CDT


On Saturday, June 13, 2009 at 04:25 CEST,
     Gerard <postfix.useryahoo.com> 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

As documented, example.com is the lookup key used for domain wildcards.
This is also not a transport table, so drop the "smtp:" part. Finally,
you probably want to return [smtp.gmail.com] rather than smtp.gmail.com.

[...]

--
Magnus Bäck
magnusdsek.lth.se