Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    177

    Default Suggestions about /etc/localdomains and and mail forwarding.

    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. #2
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Create a file called remotedomains and add the remote domains in there (same format as localdomains)

Similar Threads & Tags
Similar threads

  1. localdomains and off-site mail
    By FreedomBI in forum E-mail Discussions
    Replies: 0
    Last Post: 09-23-2008, 06:12 PM
  2. Frontend/Server Side Mail Scanning, Spam Stopping Script Suggestions?
    By XPerties in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-06-2005, 04:20 AM
  3. Suggestions for script to manage free e-mail forwarding service?
    By sneader in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-22-2005, 12:57 AM
  4. mail on another server, problems with /etc/localdomains
    By apogee in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-12-2005, 08:01 AM
  5. /etc/localdomains mail problem
    By elleryjh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-29-2003, 09:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube