Sven Strickroth: > Hi, > > Am 26.09.2009 15:04 schrieb Wietse Venema: > >> Is it possible to tell postfix not to send mails if the > >> smtp_bind_address is not available? > > > All reasonable TCP/IP stacks will automatically use the right source > > IP address when sending out mail over the dialup link or over the > > local network. > > I've two dial-up lines and no other internet-connection. But if the > static-ip connection is down, the TCP/IP-STACK uses the other connection > with a dynamic ip. With the smtp_bind_address I need to force postfix to > use the static ip, instead of using the dynamic ip for sending.
OK, so you send out IP packets with your static IP source address out over the dynamic interface. How do the return packets from remote sites (with destination your source IP address) know that they have to travel via your dynamic interface? What routing arrangements have you made with your dynamic provider to make that work? Wietse > Using the dynamic IP has lots of disadvantages: Higher spam cores, > bounces and so on. > > -- > Best regards, > Sven mailto:s...@clamav.net > ClamAV, a GPL anti-virus toolkit http://www.clamav.net > > >