Am 20.01.2014 12:25, schrieb [email protected]:
> I'm trying to have postfix use smtp_bind_address with the address set to 
> multiple IP-aliasses (eg. eth1:0, eth1:1
> etc.). As the default gateway is on eth0 and IP packets get routed based on 
> their destination, it still seems that
> despite the smtp_bind_address setting, packets get directed out of eth0.
> 
> What's the proper solution to this?

please *always* post your configuration and logfiles to
show your problem instead a abstract description

did you read http://www.postfix.org/postconf.5.html#smtp_bind_address?

- you define *one* ip-address there
- you define a ip-address there and *not* a interface name
- eth1:0 is *not* a interface, the interface is eth1

the intention of "smtp_bind_address" is on machines with more then one
ip-address to define the one used for outgoing connections to match
hostname/PTR/SPF

Reply via email to