Is it possible to do this on the domain level as opposed to the user level?  
That way everything from example.com goes to gateway 1 and everything from 
example.net goes to gateway 2?

-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Victor Duchovni
Sent: Monday, March 09, 2009 2:24 PM
To: postfix-users@postfix.org
Subject: Re: Outbound mail routing

On Mon, Mar 09, 2009 at 02:10:03PM -0400, Zachary Fortna wrote:

> Is it possible to route outbound messages based upon the domain of the from 
> address?  For example:
> 
> If u...@example.com<mailto:u...@example.com> sends and outbound 
> message it is routed to host1.mailrelay.com and if 
> u...@test.com<mailto:u...@test.com> sends and outbound message it is 
> routed to host2.mailrelay.com
> 
> Thanks in advance for any assistance.

    http://www.postfix.org/SOHO_README.html#client_sasl_sender

-- 
        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.

--
This message was scanned by ESVA and is believed to be clean.
Click here to report this message as spam. 
http://nospam.cxtec.com/cgi-bin/learn-msg.cgi?id=67E55186784.96A0E


Reply via email to