Apr 17 2014 
Support Center » Knowledgebase » Linux VPS » How do I configure a domain so that mail is delivered to an external mail server?
 How do I configure a domain so that mail is delivered to an external mail server?
Solution Some clients prefer to use an external mailserver for their domain (eg MS Exchange) and keep everything else on our server. To do this, a few things are required:

1. Edit the dns zone to change the MX record. This cannot be an IP number so if this is what the client has, first create an A record with the IP (eg for 'exchange') then put this domain in the MX record (eg exchange.domain.com. - remember the dot at the end). When done, restart Bind.

2. Remove the domain from the /etc/localdomains file on the server.

3. Add the domain to /etc/remotedomains which makes sure that cPanel doesn't add it back to the localdomains file in scripts such as mailperm.


Article Details
Article ID: 26
Created On: Jan 23 2009 03:15 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase
Language:

Help Desk Software By Kayako eSupport v3.60.02