If I knew IPtables better, there might be some rules that could be built with that, but the best I've been able to do is change the overall IP using this...
iptables -t nat -A POSTROUTING -o eth0 -p tcp --dport 25 -j SNAT --to-source 22.22.22.22
Yes and no...
I can name it anything I want, the point is that it's the first IP address on the box. That is causing some emails to bounce when that IP does not match the IP of the sending web site.
If I could make that IP match the sending web site (which could be any of them listed above)...
I've looked for an answer to this problem and haven't had any luck...
My problem is Qmail is showing the root IP address for all emails sent from the server. In other words here is what I have...
11.11.11.11 - RootServer.com
22.22.22.22 - Site1.com
33.33.33.33 - Site2.com
44.44.44.44 -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.