The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue with domain being removed from /etc/remotedomains

Discussion in 'General Discussion' started by gg_uk, Mar 25, 2011.

  1. gg_uk

    gg_uk Registered

    Joined:
    Mar 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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!
     
  3. gg_uk

    gg_uk Registered

    Joined:
    Mar 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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!
     
Loading...

Share This Page