Master Email Shows ALL Accounts!

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
As long you as you are fully updated, Release, Current and EDGE are all the same at this point in time (generally they are if their build numbers all match).

You are using maildir, correct?

What is common among that accounts that don't get updated? Looking at the script, it checks:

User UID > 500

Path to user home directory must be longer than 4 characters

/home/user/etc and /home/user/etc/passwd must exist

If those checks are matched, then it loops over all the domains owned by the account and that exist in /home/user/mail; For each domain, it reads the contents of /home/user/mail/domain

If the entry does not start with a '.', is 'new', 'cur', 'tmp' or start with the word 'courier', then it creates a symlink, if one does not already exist.
 

yemoller

Member
Jun 3, 2003
24
0
151
As long you as you are fully updated, Release, Current and EDGE are all the same at this point in time (generally they are if their build numbers all match).

You are using maildir, correct?

What is common among that accounts that don't get updated? Looking at the script, it checks:

User UID > 500

Path to user home directory must be longer than 4 characters

/home/user/etc and /home/user/etc/passwd must exist

If those checks are matched, then it loops over all the domains owned by the account and that exist in /home/user/mail; For each domain, it reads the contents of /home/user/mail/domain

If the entry does not start with a '.', is 'new', 'cur', 'tmp' or start with the word 'courier', then it creates a symlink, if one does not already exist.
In my etc folder have a file named "passwd,v" none named "passwd", can this be the problem for me?
Is it just to rename the file?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
In my etc folder have a file named "passwd,v" none named "passwd", can this be the problem for me?
Is it just to rename the file?
That is the RCS control file. Don't just rename it, restore it. Use

Code:
co -l passwd
to do that (I think).
 

headout

Well-Known Member
Aug 20, 2003
78
0
156
*Bump*

Anyone with a solution. Extra information: the accounts on this server are migrated from a server with mbox to a new server with maildir.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
If /home/user/etc/example.com/passwd,v file exists, then you can generate the passwd file by:

cd /home/user/etc/example.com
co passwd
 

headout

Well-Known Member
Aug 20, 2003
78
0
156
If /home/user/etc/example.com/passwd,v file exists, then you can generate the passwd file by:

cd /home/user/etc/example.com
co passwd
Thanks. On 1 account this solved it; but on the same server, different account, it didn't work.
Kinda strange. Even logging out, clearing the cache, close the browser, ans restart things didn't solve it.
 

headout

Well-Known Member
Aug 20, 2003
78
0
156
Ok, we have this issue on multiple accounts right now. Users switching from a mbox server to a maildir server have this issue.

On the account we are now working and testing with, we saw this:
logging in with the main cpanel account on webmail, shows us the dirs "inbox, courierimapuiddb , maildirsize and Spam". These directories exist in /home/username/mail, starting with a dot (.).

In /home/username/etc/domain.com passwd,v and passwd exist.