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

Reply via email to