It works but I need to install a new instance of postfix (with sender_dependent_relayhost_maps) in front of the relayhosts to route.

                               +---> postfix-domain1
postfix-routing ----->|
                               +---> postfix-domain2

Thanks

----- Original Message ----- From: "Neil" <kngsp...@gmail.com>
To: "Gilles Albusac" <gilles.albu...@wanadoo.fr>
Cc: <postfix-users@postfix.org>
Sent: Wednesday, January 14, 2009 2:04 PM
Subject: Re: Multiple SMTP relays based on sender's domain



On Wed, Jan 14, 2009 at 5:01 AM, Gilles Albusac
<gilles.albu...@wanadoo.fr> wrote:

Is it possible to set up Postfix to choose an SMTP relayhost when routing
outbound mail based on the domain name of the sender ?


If you're okay with using addresses instead of domains, I think
sender_dependent_relayhost_maps might do the trick for you.



Reply via email to