Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member kduvall's Avatar
    Join Date
    Nov 2008
    Location
    Atlanta, GA
    Posts
    7

    Default /etc/localdomains

    I have a client who keeps having email issues. Every time they notify me I look and see their domain isn't in the /etc/localdomains file.

    Now this always fixes their issues but I would like to figure out why their domain keeps disappearing from the localdomains file. I have to re-add it once or twice a week.

    Any ideas would be appreciated.

  2. #2
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    Here is a couple of things to check.

    Have you tried to WHM >> Main >> DNS Functions >> Edit DNS Zone once you open the domain in question tick the box Always accept mail locally even if the primary mx does not point to this server.

    And in WHM >> Main >> Server Configuration >> Tweak Settings do you have Automatically setup /etc/localdomains, /etc/remotedomains, /etc/secondarymx based on where the mx entry is pointed?
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  3. #3
    Member kduvall's Avatar
    Join Date
    Nov 2008
    Location
    Atlanta, GA
    Posts
    7

    Default

    Have you tried to WHM >> Main >> DNS Functions >> Edit DNS Zone once you open the domain in question tick the box Always accept mail locally even if the primary mx does not point to this server.
    That wasn't set for that domain, but it is now. Should this be set for every domain?

    And in WHM >> Main >> Server Configuration >> Tweak Settings do you have Automatically setup /etc/localdomains, /etc/remotedomains, /etc/secondarymx based on where the mx entry is pointed?
    Yes, this was checked.

    Thanks for your help. I've been working with WHM for a few years now, but this is the first time I've had root and have been responsible for about everything on the server.

  4. #4
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    We have only had to check that on a few domains that just for some reason were not in the local domains file when they should have been. I think this will fix your problem.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  5. #5
    Member kduvall's Avatar
    Join Date
    Nov 2008
    Location
    Atlanta, GA
    Posts
    7

    Default

    Cool, thanks for your help; and the info.

  6. #6
    Member
    Join Date
    Feb 2005
    Posts
    29

    Default

    Thanks that was exactly my issue
    Sellwebhost.com

Similar Threads & Tags
Similar threads

  1. /etc/localdomains
    By markus79 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-30-2006, 02:17 PM
  2. /etc/localdomains
    By adapter in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-14-2006, 04:43 AM
  3. localdomains gone
    By Wolvie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-16-2004, 01:24 PM
  4. localdomains
    By kris1351 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-22-2003, 03:03 PM
  5. What should be in etc/localdomains?
    By andrewm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2003, 03:08 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube