On Tue, May 26, 2009 at 06:17:37PM -0300, Jose kojima wrote: > hi there, > > i have a problem here, i there multiply ips in my postfix server: > > eth0 192.168.1.1 > eth0:1: 192.168.1.2 > eth0:2: 192.168.1.3 > > i like to send the domain test.com via 192.168.1.2 source ip, and > test1.com via 192.168.1.3. I did read about > sender_dependent_relayhost_maps:
A relayhost is a *destination* IP, NOT a *source* IP. Hence you can't use sender_dependent *destination* relay selection to elect the source IP. What you want is both an FAQ, (search the archives) and a bad idea, so it is best to convince yourself you really don't want it. If you can't arrive at that conclusion, you must run separate instances of Postfix for each MTA "personality". If Postfix 2.6 is an option, see: http://www.postfix.org/MULTI_INSTANCE_README.html -- 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.