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!

External MX server and localdomains file

Discussion in 'General Discussion' started by pcenz, Mar 5, 2007.

  1. pcenz

    pcenz Registered

    Aug 31, 2006
    Likes Received:
    Trophy Points:
    Hi All!

    I have read many suggestions in previous posts about specifying an external mail server in the WHM Zone edit, removing the domain name from the /etc/localdomains and adding it to /etc/remotedomains

    This works and mail generated from a form on my website is directed to the external mail server.

    However, overnight the domain is readded to the localdomains file and mail generated on the form is sent to the default address associated with the cpanel account the domain is hosted on.

    Can anyone tell me what would be readding the domain back into the localdomains file after it has been removed.

    Thank you.

    Iain M
  2. HostIt

    HostIt Well-Known Member

    Feb 22, 2003
    Likes Received:
    Trophy Points:
    I'd double check to be sure that the domain is in /etc/remotedomains

    As long as it's in there, it should never be added back to /etc/localdomains

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