I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box.
I think it is something to do with the email routing internally, or the DNS servers that the box uses not reporting the correct MX records.
Basically my box doesn't host any mail, it's all hosted on google apps. My name servers are hosted by a 3rd party provider and I am using webmin. Webmin doesn't recognise the settings on the 3rd party provider.
I'm unsure how to fix this. Previously when I had this problem on a cpanel server, I would edit the
localdomains files, moving domains from one file to another and it would fix the problem.
What information do I need to provide for anyone to work out what the issue is?