http://www.postfix.org/MULTI_INSTANCE_README.html but never used because no need
"smtp_bind_address" is here only in use to make sure that outgoing mail is using the ip matching SPF Am 07.02.2012 15:19, schrieb Joe Wong: > Thanks for the reference. How could this be used with some condition? > I am looking for binding sender domain A with IP 1 and domain B go > through IP 2, go to IP3 otherwise. > > - Joe > > On Tue, Feb 7, 2012 at 8:00 PM, Wietse Venema <wie...@porcupine.org> wrote: >> Reindl Harald: >>> Am 07.02.2012 09:53, schrieb Joe Wong: >>>> Hello, >>>> >>>> Say my MTA has multiple IP addresses on it. Is there a way to >>>> configure Postfix (outbound) to use IP 1 when matching condition A and >>>> IP2 if matching condition B and IP3 and none of the conditions are >>>> matched? >>> >>> you can define "smtp_bind_address" for each outgoing process >>> defined in "master.cf" >>> >>> cat /etc/postfix/master.cf | grep smtp_bind >>> smtp unix - - n - 50 smtp -o >>> smtp_bind_address=10.0.0.6 -o max_idle=300 -o >>> max_use=500 >>> relay unix - - n - - smtp -o >>> smtp_bind_address=10.0.0.6 -o max_idle=300 -o >>> max_use=500 -o smtp_fallback_relay= >> >> If you do this on a firewall, then be sure to read the Postfix >> manpage for smtp_bind_address and inet_interfaces, to avoid >> some common pitfalls with routing. >> >> http://www.postfix.org/postconf.5.html#smtp_bind_address >> http://www.postfix.org/postconf.5.html#inet_interfaces >> >> Wietse -- Mit besten Grüßen, Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / software-development / cms-solutions p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm
signature.asc
Description: OpenPGP digital signature