Jan 222010

If your domain is using external an mail server like Google mail for its pop and smtp activities, you need to make the following changes in your cpanel server.

Go into WHM / DNS Functions / Edit a DNS Zone and select the domain >

where it says;
mail | 14400 | cname | domainname.com
change to
mail | 14400 | A | ( which is the IP of your customers preferred mail server)

This will point the system to the new mail server. Now, log into your server as root using SSH and

REMOVE the domain from /etc/localdomains and then ADD the domain to /etc/remotedomains.

and then restart exim. Check your configuration via the following command to send a test email.

sendmail -v “[email protected]

sendmail should connect to google via the mx records. You can also use the following command to find an MX record :

dig domainname.com MX

 Posted by at 1:06 am