On Tue, 30 Jan 2007 02:33:24 +0300, Alexey Loukianov wrote: > AFAIK, it chooses the LAST available interface on the system (the > last one ifconfig shows). This behavior is something I dislike and > I'm thinking about implementing a patch allowing manual selection of > outgoing IP/port pair to send a message from for qmail-rspawn.
We use iptables to set the source IP address for outgoing smtp traffic. It has happened before that we needed to change IP address if one becomes blacklisted. iptables -t nat -A POSTROUTING -p tcp -m --dport 25 -j SNAT --to-source xxx.xxx.xxx.xxx Quinn --------------------------------------------------------------------- Strangecode :: Internet Consultancy http://www.strangecode.com/ +1 530 624 4410 --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]