PDA

View Full Version : Postfix outgoing interface change


digen
31st July 2007, 16:12
Heya Guys,

I have a Postfix setup for a couple of domains.

Currently all email which is sent from the server goes through one IP address a.b.c.d.

I need to configure Postfix such that emails from domain1.com goes through a.b.c.d IP and emails from domain2.com goes through p.q.r.s IP address.

From what I've read so far I can see that this can be achieved via 'smtp_bind_address' and creating another instance of Postfix for the second domain ?

Something similar to instructions given here:

http://souptonuts.sourceforge.net/postfix_sbr.html

Is this the only way to do it ? Any other inputs or suggestions are most welcome. Thanks :)