Outgoing ip patch for netqmail

I was installing netqmail and noticed that qmail's outgoing ip patch from http://www.qmail.org/outgoingip.patch did not apply correctly to netqmail. To deal with this, I manually applied the patch and created a new diff file. I hope it helps someone. Netqmail modified Outgoing IP Patch is here

To Install

wget http://www.gadgetwiz.com/software/outgoingip.patch
wget http://www.qmail.org/netqmail-1.05.tar.gz
tar xvzf netqmail-1.05.tar.gz
cd netqmail-1.05
cd netqmail-1.05
cat ../../outgoingip.patch | patch -p0

Test outgoing ip using netcat

To establish an outgoing connection on the non-primary interface, use netcat.