this patch is against a vanilla qmail-1.01.
it allows you to specify an ip address that qmail-remote uses to deliver
outgoing emails. to accomplish this an additional control file
qmail/control/outgoingip
is used to hold the ip address, which - of course - has to be
associated with one of the interfaces. if the file does not exist
or does contain
0.0.0.0
the default interface is used.
the patch modifies three files:
qmail-1.01/qmail-remote.c
qmail-1.01/remoteinfo.c
qmail-1.01/timeoutconn.c
|