On Sat, Sep 26, 2009 at 05:36:30PM +0200, Sven Strickroth wrote: > Am 26.09.2009 16:18 schrieb Wietse Venema: > > OK, so you send out IP packets with your static IP source address > > out over the dynamic interface. > > no, and there's the problem. if the static-ip connection is down, > postfix reports "warning: smtp_connect_addr: bind x.x.x.x: Cannot assign > requested address" and then it binds to the dynamic ip and uses that. > > Why not add an option so that if the binding to the smtp_bind_address > fails that postfix refuses to send mail.
Add filters to block outbound port 25 on the dynamic interface. Pretend your ISP has already done that for you (as many do). -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.