[EMAIL PROTECTED] wrote:
>
> Hi, I just installed vpopmail-4.9.10 and this is my first entry
> created in dir_control table:
> 'domain.name',1,0,3,0,0,0,61,61,61,0,2,4,0,0,0,''
>
> the last value of the_dir is still empty (''), then I vadduser (let says)
> 3000 mailboxes.
>
> Several mailboxes (98 mailboxes) was created in
> ~vpopmail/domains/domain.com/mailboxes and the rest
> goes into its correct directory :
> ~vpopmail/domains/domain.com/*/*/mailboxes
> and the value of the_dir control changed using the value of the last mailbox
> created (i.e I/E)
>
> Anyone has any idea why vpopmail created the first 98 mailboxes
> in directory ~vpopmail/domains/domain.com/mailboxes but not in
> ~vpopmail/domains/domain.com/*/*/mailboxes
>
> Thanks.
Read the bigdir.c file for complete details.
Basicly vpopmail grows the directory tree. It is not
a hash, or an alphabetic sort. It grows it.
First 100 users go in domain.com
Next 100 go in domain.com/0
Next 100 go in domain.com/1
this goes on thru 2,3..9,A..Z,a..z
After that it starts on a second level
0/0 100 users
0/1 100 users
thru
0/9... 0/A.. 0/Z..0/a..0/z
then the same for
1/0..1/9..1/A..1/Z..1/a..1/z
all the way up to
z/0..z/9..z/A..z/Z.. z/a...z/z
Then it goes into a third level
0/0/0 thru z/z/z
Ken Jones