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!

Automated change of Mail Exchanger to Local or Remote

Discussion in 'E-mail Discussion' started by deimsi, Jul 20, 2016.

Tags:
  1. deimsi

    deimsi Registered

    Joined:
    Jul 20, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ukraine
    cPanel Access Level:
    Root Administrator
    Hi there!

    I recently started facing an issue with my server. Since I am using a third party spam filtering, I need to use specific MX records that cPanel detects as "Remote Mailexchanger"

    Need to find a way to automatically change exchanger for a domain via SSH.
    I tried to manually move a domain from /etc/remotedomains to /etc/localdomains and do /scripts/updateuserdomains, but with no luck. What else is needed to be done to achieve that?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Manually moving the domain name from /etc/remotedomains to /etc/localdomains isn't a permanent solution, however it should have addressed the issue. Could you let us know the specific error message you continue to receive?

    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