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.

Automated change of Mail Exchanger to Local or Remote

Discussion in 'E-mail Discussions' 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:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    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.
     
Loading...

Share This Page