Issue with domain being removed from /etc/remotedomains

gg_uk

Registered
Mar 25, 2011
2
0
51
Hi everyone
Hope you can help!
We host a site on a cPanel server but the email is hosted elsewhere. To prevent mail from being delivered locally we've used the /etc/localdomains and /etc/remotedomains fix.
This works for a time, but then the domain is removed from /etc/remotedomains and readded to /etc/localdomains, causing emails from site contact forms to go missing.
Has anyone else had this issue and is there a permanent fix? We're assuming something must be overwriting it.
:confused:
Thanks in advance for any suggestions
- Katie
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Katie,

Please check the /var/cpanel/users/username file for the domain to ensure it has the following:

Code:
MXCHECK-domain.com=remote
Please note that above username is the cPanel username and domain.com is the domain name in question. If the /var/capnel/users/username file doesn't show remote for the domain, change that file to have remote instead, then run this command:

Code:
/scripts/updateuserdomains
Thanks!
 

gg_uk

Registered
Mar 25, 2011
2
0
51
Hi Tristan.

I couldn't see an entry for this so I've added one.

Thanks for your help, fingers crossed this will fix it permanently!