Delivering mail to local mail server if your DNS is hosted on remote Cpanel VSP
Login to WHM and go to “DNS Functions” and select “Edit a DNS Zone”
Select the zone to edit and then select the “Edit” button.
Once the next screen appears scroll down to the “Record Type” MX and change the value to mail.serverbuddies.com.
Change the “Record Type” to “A” for mail and add the IP address of your local mailserver in the box to the right of the “CNAME” record type.
Now DNS server will instruct mail servers on the internet to deliver mail to your local mail server.
Edit the file /etc/localdomains and remove the domain name for which you want email delivered locally.
Edit the file /etc/remotedomains and add the domain name which we removed from /etc/localdomains
Now local (cpanel) mail server (Exim) will route all email originating from the local server to the remote mail server.
Leave a Reply
You must be logged in to post a comment.