I have been running cpanel Current now for the past 4 months. A customer came to me recently complaining that his email forwarder is working touchy at best.
In cpanel's mail forwarder manager, I have
a@domaina.com forwarding to
b@hotmail.com. domaina.com is hosted on this server. Email works fine when I send a message from yahoo to
a@domaina.com.
However when i run a php script with the mail() function and send it to anything outside of the server's domain list (like to hotmail, yahoo, etc), either through that forwarder or directly, the mail is shown to be relayed, but it never actually arrives at the destination.
A little further, I tried on another cpanel server and it worked fine, so I changed cpanel to the release tree and forced an upgrade. I still have the same results.
Do you have any idea what is causing my system to not forward emails generated via php's mail function to external domains not hosted on my server? Is there a way to force a complete uninstall and reinstall of exim without losing data?
EDIT:
I figured out the problem, its with junk mail. Is there any way to make the forwarder make messages less likely to look like junk to a provider like hotmail?