Localdomains and remotedomains in cPanel Server.
Problem : A user that pointed their MX records to another server but email from their website or users on the same server isn’t going out of the server.
This is because Exim on the server is configured to use files called localdomains and remotedomains, which tell Exim whether a domain’s email is hosted locally or remotely.
The files controlling these actions are:
/etc/remotedomains: email hosted remotely
* The remotedomains file takes precedence, so if a domain is located in both files, the mail server should use remotedomains.
Common Errors:
*Email from the user’s site is not being delivered to their outside mail server - add the domain to remotedomains
*lowest numbers MX record points to localhost - adding the domain to localdomains will resolve the issue.
*Email bouncing stating the user does not exist - add the domain to remotedomains
Leave a Reply
You must be logged in to post a comment.