? what populates /etc/localdomains ?

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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!
 

jumpdomain

Well-Known Member
Aug 12, 2001
109
0
316
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
 

snowgod

Well-Known Member
Sep 23, 2001
70
0
306
/scripts/mailperm will rebuild it in a pinch, but Nick swears cpanel doesn't run that under normal circumstances.
 

Site5-Matt

Well-Known Member
Aug 10, 2001
79
0
306
Anything that adds or removes domains from the server will modify localdomains. So, wwwacct, killacct, the subdomain routines in Cpanel, etc.

Matt
 

joana

Well-Known Member
Sep 29, 2001
103
0
316
[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..