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!

Does "Remote Mail Exchanger" change /etc/localdomains?

Discussion in 'E-mail Discussion' started by vicos, Nov 27, 2013.

  1. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
    I have a domain where:

    1) The DNS is handled by a remote DNS service (this was properly specified when the acct was created.)

    2) MX records are setup on that remote DNS server to point the email to a 3rd-party email service.

    3) In CPANEL, under "MX Entry Maintenance," "Automatically detect configuration" is selected

    4) /etc/localdomains does include the domain name

    As you may have guessed, email generated by scripts on this domain do not reach the email recipient because the server is trying to deliver it locally.

    I just want to confirm that changing the setting to "Remote Mail Exchanger" is all I have to do given the circumstances outlined above? I assume this will make the edit to /etc/localdomains?

    TIA!
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Yes, the domain is removed from /etc/localdomains and added to /etc/remotedomains
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
    OK, great! Thank you for the prompt response.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,302
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Using "Automatically detect configuration" should correctly detect the remote MX records and place the domain name in the /etc/remotedomains file. Using "Remote Mail Exchanger" will ensure the domain name is always placed in the /etc/remotedomains file, no matter where the MX records are pointed.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
    Thanks Michael. Based on the title, it makes sense that it should work that way, but it did not in this case. Does the MX record on the remote DNS server have to be setup before creating the domain on CPANEL for this to work, or does CPANEL check periodically to see if the MX has been changed to point to an external mail server?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,302
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    It needs to be setup before before the zone creation, or at any point when the zone is edited for it to work as intended.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. stalka

    stalka Registered

    Joined:
    Dec 6, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Does "Remote Mail Exchanger" change /etc/localdomains?

    I am also having issues with this "Automatic" MX setup whilst DNS is off-site.

    The Automatic setup seems to ignore actual DNS itself and instead it looks inwards onto its own DNS setup without checking real-world DNS.

    This has caused confusion with resellers and something we are constantly having to micro-manage.

    To CPanel staff: Please begin to support configurations where DNS is off-site, this has been a weak-point of your product for some time. Whilst there have been strides towards addressing the issues associated with this type of setup, we're not quite there yet. Look forward to some loving on this in future updates.

    - - - Updated - - -

    Just to clarify what I meant by that last part. Ideally we'd like accounts/resellers to be able to disable DNS for an account, which would remove the DNS options from CPanel unless DNS is re-activated. The same with mail. With DNS disabled it simply uses standard DNS lookups, and if mail is disabled it forces the domain into /etc/remotedomains.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,302
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Re: Does "Remote Mail Exchanger" change /etc/localdomains?

    I recommend opening a feature request for this functionality at:

    Submit A Feature Request

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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