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!

Suggestions about /etc/localdomains and and mail forwarding.

Discussion in 'E-mail Discussion' started by NetX, Jan 15, 2004.

  1. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    I have more than 20 domains that manage their mail on ther own servers, the dns zones and mx records are modified correctly

    MX Record: customer.com. 14400 IN MX 0 mail.customer.com.

    A Record: mail.customer.com. 14400 IN A 205.32.189.76


    I removed all these domains from /etc/localdomains, and all works fine.

    The problem is when the file /etc/localdomains is overwritten automatically, because these domains are inserted there again, and of course the mail is not delivered out of server (becasuse the domain is considered local) and I have to delete them one by one form this file.

    What can I do in order to avoid these domains are inserted in localdomains file when it be automatically updated?

    Thanks
     
  2. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    168
    Create a file called remotedomains and add the remote domains in there (same format as localdomains)
     
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