OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Choose outbound relay based on from address

From: Magnus Bäck (magnusdsek.lth.se)
Date: Fri Sep 02 2005 - 00:25:10 CDT


On Thursday, September 01, 2005 at 23:34 CEST,
     Ed Schaller <schalleedarkmist.net> wrote:

> I would like to relay mail through different relay's based on the from
> address of the email. If the mail is from user1domain1.tld it should
> be relayed through mail.domain1.tld. Likewise if the mail is from
> user2domain2.tld it should be relayed through mail.domain2.tld.
>
> Transport_maps allow the choice based on the destination address but not
> the senders address.

Postfix does not support sender-based routing, but you could use the
FILTER action in a check_sender_access access map. What problem are you
trying to solve?

--
Magnus Bäck
magnusdsek.lth.se