Ron Allison wrote:
I am running qmailtoaster on a hosted Centos server that has 5 IP addressed bound to the same NIC. I would like to run the qmailtoaster with the 2nd IP address configured in the alias eth0:0, call it 192.168.1.2 (not the real addresss). Call the first IP address configured in eth0 192.168.1.1. I have DNS entries for the main IP address as the web server, so www.mydomain.com, and an MX entry for the second IP address for the mailserver at maildomain.com. That all seems to be working and I can send and receive emails.Without recoding the source for Qmail, use IPtables to forward the port to the IP you want.The part I don't understand is that when an email is sent through this server the connection shows it coming from the first IP Address, 192.168.1.1, and the name is reconciled to www.mydomain.com. So when I look at the header information I do not see my mail server name and my SPF record configured in the mail server DNS is not recognized. What can I do to have it send from the second IP Address with the correct name resolution?
There's not really an easier way to do it that I know of.
smime.p7s
Description: S/MIME Cryptographic Signature
