I'm pretty sure that this has been asked before... but I googled a bit
and could not find an answer....
I have a server running postfix ( don't think that the mail server
software will make a difference ) and it has a primary IP Address
and a 2nd / virtual IP Address. The 2nd / virtual IP address is
reverse mapped back to my domain so when I send mail, I want that
IP Address to be associated with the connection. Normally, the main
IP Address on the Interface is used.... this does not reverse back
to my domain so I need to use the 2nd / virtual Ip address on the
outgoing mail connects. Some mail servers do a reverse lookup on
the incoming connection and act differently if you say that you
are 'y' but your reverse lookup says that you are 'x'.
I am pretty sure that iptables is the answer... but I'm not sure
if I want to mangle or snat or what....
Thanks - jack
--
D.A.M. - Mothers Against Dyslexia
see http://www.jacksnodgrass.com for my contact info.
jack - Grapevine/Richardson