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.

Suggestions about /etc/localdomains and and mail forwarding.

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

  1. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    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:
    18
    Create a file called remotedomains and add the remote domains in there (same format as localdomains)
     
Loading...

Share This Page