Wietse Venema put forth on 6/19/2010 5:51 PM: > Ben Munat: >> main.cf:inet_interfaces = 64.69.38.41,127.0.0.1 >> >> and I hook up the main smtp process in master.cf like this: >> >> master.cf: -o smtp_bind_address=64.69.38.41 > > This works only on the SMTP CLIENT. Not the SMTP SERVER.
And apparently it wasn't affecting all smtp client processes. Ben, make sure the entry for -o smtp_bind_address is no longer in master.cf, and add to /etc/postfix/main.cf smtp_bind_address = 64.69.38.41 Now execute /etc/init.d/postfix restart (or whatever script your system uses) Putting this in main.cf will cause it to affect _all_ outbound smtp connections. It would seem your previous setting in master.cf was not configured properly to affect all smtp processes. Or you forgot to restart Postfix after adding the setting to master.cf. Anyway, it's better to set this, in your case, in main.cf. See: http://www.postfix.org/postconf.5.html#smtp_bind_address And the following ifconfig output you provided me explains why outbound smtp connections were occurring on 64.69.38.45. Truth be told, outbound smtp connections were probably occurring on all your configured IPv4 interfaces but you just didn't know it because only those sent out on *.45 are being rejected or bounced: Ben Munat put forth on 6/19/2010 10:56 PM: > The output of ifconfig -a: > > eth0 Link encap:Ethernet HWaddr 00:1d:60:c9:05:41 > inet addr:64.69.38.41 Bcast:64.69.38.255 Mask:255.255.255.0 > inet6 addr: fe80::21d:60ff:fec9:541/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:292042797 errors:0 dropped:0 overruns:0 frame:0 > TX packets:28463532 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:26419280120 (26.4 GB) TX bytes:38755682529 (38.7 GB) > Interrupt:17 > > eth0:0 Link encap:Ethernet HWaddr 00:1d:60:c9:05:41 > inet addr:64.69.38.42 Bcast:64.69.38.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > eth0:1 Link encap:Ethernet HWaddr 00:1d:60:c9:05:41 > inet addr:64.69.38.43 Bcast:64.69.38.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > eth0:2 Link encap:Ethernet HWaddr 00:1d:60:c9:05:41 > inet addr:64.69.38.44 Bcast:64.69.38.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > eth0:3 Link encap:Ethernet HWaddr 00:1d:60:c9:05:41 > inet addr:64.69.38.45 Bcast:64.69.38.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 Keep us posted on your progress. -- Stan