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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Opposite way and delete such remote domain

Discussion in 'General Discussion' started by toplisek, Mar 24, 2017.

  1. toplisek

    toplisek Well-Known Member

    Joined:
    Jan 7, 2010
    Messages:
    67
    Likes Received:
    2
    Trophy Points:
    58
    When you set the MX entry to remote mail server it tells to server to not try to deliver the mail locally and to use the external mail server.

    How to do do also in a opposite way and delete such remote domain as it is showing:
    cat /etc/remotedomains
     
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    175
    Likes Received:
    9
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hello,

    If I understand correctly you want to set the email for the domain to be delivered locally instead. If that's the case go to DNS functions > Edit MX entry and set the domain name in question to "Local Mail Exchanger", this should remove the domain from /etc/remotedomains and start delivering locally.
     
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The previous post is correct. Let us know if you have any trouble with this.

    Thanks!
     
Loading...

Share This Page