The routing I need, have to depend of the 'from: field' and not the 'to: field'.

Are you sure table transport permit that ?

----- Original Message ----- From: "jeff donovan" <dono...@beth.k12.pa.us>
To: "Gilles Albusac" <gilles.albu...@wanadoo.fr>
Cc: <postfix-users@postfix.org>
Sent: Thursday, January 15, 2009 6:02 PM
Subject: Re: Multiple SMTP relays based on sender's domain




On Jan 15, 2009, at 11:25 AM, Gilles Albusac 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 ?

try using transport  map
http://www.postfix.org/ADDRESS_REWRITING_README.html#transport

# TRANSPORT MAP
#
# See the discussion in the ADDRESS_REWRITING_README document.
#transport_maps = hash:/etc/postfix/transport
#transport_maps = ldap:/etc/postfix/ldaptransport
#transport_maps = hash:/etc/postfix/transport




Reply via email to