Thursday, 27 December 2012

Domain name automatically removed from /etc/remotedomains

Guys, recently I came across a situation where the customer was using remote mail servers to handle his mails but even if I add it to the file /etc/remotedomains, the domain automatically got removed and was added to /etc/localdomains. In this scenario the customer again faced the problem in mail delivery.

Later, the following fix was used to:

===
Fix:
===

Locate the file "/var/cpanel/users/username"  and find out the following parameter in that file:
====
MX-CHECK-domain.com=remote


===
 
In the above fix, the "domain.com" is the domain and "username" is that cpanel username that is having issue.

If this parameter does not exist in the file "/var/cpanel/users/username" , then  add it manually and run the following command as:

====
/scripts/updateuserdomains
====

Cool !!! Issue resolved !!!

No comments:

Post a Comment

Note: only a member of this blog may post a comment.