Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gg_uk

    gg_uk Registered

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice