Outgoing mail from linux not being delivered

Posted by Jason on Server Fault See other posts from Server Fault or by Jason
Published on 2011-12-26T00:32:07Z Indexed on 2012/06/11 22:42 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

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 remotedomains and 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?

Thanks

© Server Fault or respective owner

Related posts about php

Related posts about email