I'm having an issue getting the smtp client to bind to an aliased IP address.
mail_version = 2.5.7 I've tried to no avail to have the smtp client use a aliased IP to deliver mail but it insists on using the address of the interface the aliased address is assigned to. # ifconfig eth2 && ifconfig eth2:1 eth2 Link encap:Ethernet HWaddr 00:15:17:6f:e6:1e inet addr:142.22.75.146 Bcast:142.22.75.151 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38366130 errors:0 dropped:0 overruns:0 frame:0 TX packets:32267506 errors:0 dropped:0 overruns:0 carrier:0 collisions:535231 txqueuelen:100 RX bytes:10481726082 (9.7 GiB) TX bytes:33812562876 (31.4 GiB) Base address:0xece0 Memory:fc7e0000-fc800000 eth2:1 Link encap:Ethernet HWaddr 00:15:17:6f:e6:1e inet addr:142.22.75.147 Bcast:142.22.75.151 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0xece0 Memory:fc7e0000-fc800000 I've tried the following in main.cf ... smtp_bind_address = 142.22.75.147 I've also tried the following in master.cf ... smtp unix - - n - - smtp -o smtp_bind_address=142.22.75.147 Reading a correlation between smtp_bind_address and inet_interfaces in the docs I've also tried the following in main.cf ... inet_interfaces = $myhostname, localhost With the later netstat shows master binding to the aliased address 142.22.75.147 and 127.0.0.1 and the smtpd server receives mail fine on the aliased address however the smtp client persists in using 142.22.75.146 to deliver mail to other hosts. tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 27605/master tcp 0 0 142.22.75.147:25 0.0.0.0:* LISTEN 27605/master What am I missing? Thanks --