Server Administration & Management

What is significance of /etc/localdomains, /etc/userdomains and /etc/remotedomains files

/etc/localdomains :

If the MX record of the domain is pointed to same server then there must be entry for that domain under /etc/localdomains file for local delivery of email.

/etc/userdomains :

Its for authentication purpose. The file /etc/userdomains file contains the domain and its user info. If there is any mismatch, then cpanel wont authenticate to log in.

/etc/remotedomains :

If you are using remote mail server then entry for that domain must be removed from /etc/localdomains files and should added in /etc/remotedomains files for proper routing of emails. “

February 6, 2011 Posted by | cPanel, Unix/Linux | , | 3 Comments