Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Custom MX records and sending email from VPS

If domain.com is hosted on a VPS with Cpanel and has custom MX records (for example, using Google Apps) then emails sent by PHP scripts or emails sent by VPS itself to @domain.com will not be delivered.
This happens because domain.com exists in /etc/localdomains

In order to fix the issue and make Exim resolve real MX records you can:
♦ Remove domain.com from

 

/etc/localdomains

 

and
♦ Add domain.com to

 

/etc/remotedomains

 

in your cPanel/WHM server.

Save this article
  • No labels