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.

? what populates /etc/localdomains ?

Discussion in 'General Discussion' started by feanor, Jan 31, 2002.

  1. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    I thought I knew this....
    Anyone off the top of their head recall what builds /etc/localdomains repeatedly on a cpanel box.

    What engine / process / cron / script ?
    All of the above?
    Thanks for the help, anyone!
     
  2. jumpdomain

    jumpdomain Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    I think CPanel does it only when you create a new account or add a parked domain... I don\'t see any other process or script to do it like there is for /etc/userdomains
     
  3. snowgod

    snowgod Well-Known Member

    Joined:
    Sep 23, 2001
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    /scripts/mailperm will rebuild it in a pinch, but Nick swears cpanel doesn't run that under normal circumstances.
     
  4. Site5-Matt

    Site5-Matt Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Anything that adds or removes domains from the server will modify localdomains. So, wwwacct, killacct, the subdomain routines in Cpanel, etc.

    Matt
     
  5. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    [quote:54fd194ee8][i:54fd194ee8]Originally posted by feanor[/i:54fd194ee8]


    I thought I knew this....
    Anyone off the top of their head recall what builds /etc/localdomains repeatedly on a cpanel box.

    What engine / process / cron / script ?
    All of the above?
    Thanks for the help, anyone![/quote:54fd194ee8]

    scripts/mailperm will rebuild this file
    Even though some domains might be out due to external mail service (External MX), running mailperm will re-add all domains..
     
Loading...

Share This Page