Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default localdomains

    We have several users that want to use everyone.net as a mail service. This is fine and all, but we cannot keep their domain from being added to /etc/localdomains and each time it gets added they stop receiving mail to everyone.net. Any ideas?
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Did you try putting it in /etc/remotedomains ?

  3. #3
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Have not tried that. Does that file follow the same formate as localdomains?
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  4. #4
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Added the domain to remotedomains and it still got added back to localdomains.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  5. #5
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Originally posted by kris1351
    Added the domain to remotedomains and it still got added back to localdomains.

    That's strange.

    What script do you run or action do you perform that causes that domain to be added to /etc/localdomains ?

    Running /scripts/mailperm will rebuild /etc/localdomains.
    It should skip the domains that are listed in /etc/remotedomains.
    Last edited by jamesbond; 12-22-2003 at 12:36 PM.

  6. #6
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    mailperm is the one I ran, but everytime it adds them back.

    /etc/remotedomains

    domain.com
    *.domain.com

    That is what I added.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  7. #7
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Originally posted by kris1351
    mailperm is the one I ran, but everytime it adds them back.

    /etc/remotedomains

    domain.com
    *.domain.com

    That is what I added.
    Did you try it with just 'domain.com' ?
    Maybe the wildcard * causes a problem?

    Did you check ownership and permissions?

    -rw-r--r-- 1 root root

Similar Threads & Tags
Similar threads

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