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.

Correct configuration for external mail servers.

Discussion in 'E-mail Discussions' started by optize, Sep 6, 2009.

  1. optize

    optize Well-Known Member

    Joined:
    Apr 27, 2005
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    We get this question a lot, I want to make sure we're doing it the correct way.

    What is the correct way to configure the cPanel server to not accept email locally if the customer does not use our DNS servers?

    Currently I remove the domain from /etc/localdomains and that fixes it, but is it only temporary?

    Is it possible to have the customer do it themselves?
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    That is half of it at least ...

    You need to also ADD the domain to /etc/remotedomains

    Code:
    1.  Setup MX record in DNS Zone
    2.  Remove domain from /etc/localdomains
    3.  Add domain to /etc/remotedomains
    
     
Loading...

Share This Page