|--> Eric Shubert, le 08/08/2012 20:53, a dit :

> On 08/08/2012 11:12 AM, xaf wrote:
>> |--> Alessio Cecchi, le 06/08/2012 09:42, a dit :
>>
>>> One last question, in dir_control the dom_89 row report in "domains"
>>> filed "51" and "0" in all other fields. i do not think is correct.
>>>
>>> How can fix it? If someone explain me what the fileds means I can try to
>>> correct it manually.
>>
>> domains 51 is the total number of domains
>> for 51 domains
>> default values
>> level_cur 0
>> level_max 3
>> level_start0 0
>> level_start1 0
>> level_start2 0
>> level_end0 61
>> level_end1 61
>> level_end2 61
>> level_mod0 0
>> level_mod1 2
>> level_mod2 4
>> level_index0 0
>> level_index1 0
>> level_index2 0
>> the_dir nothing
>>
>> the_dir indicate where to put the next domain in the directory structure
>>
>> Directory structure in the manual
>> The default directory setup allows for 62 directories in 3 levels and
>> 100 user directories per directory. The total number of user directories
>> is equal to
>> 100 + (62 * 100) + (62 * 62 * 100) + (62 * 62 * 62 * 100)
>> = over 24 million directories.
>>
>> 1st level 1st directory
>> /home/vpopmail/domains/ the_dir nothing
>> 100 domains go here
>> 2nd directory
>> /home/vpopmail/domains/0/ the_dir = 0
>> 100 domains go here
>> ... 1-9 then A-Z then a-z
>> so 62th
>> /home/vpopmail/domains/z/ the_dir = z
>>
>> 2nd & 3rd level
>> /home/vpopmail/domains/0/0/
>> /home/vpopmail/domains/0/0/0/
>> so for 7001th domain
>> /home/vpopmail/domains/0/7/
>> level_cur = 1 level_index0 = 7 the_dir = 7
>>
>> xaf
>>
>> ---------------------------------------------------------------------
> 
> Please keep in mind that QMT uses this configuration setting:
>   user dir hashing  = OFF --disable-users-big-dir
> so a good deal of this (all of it?) does not come into effect.
> 

--disable-users-big-dir is for users directories
here it's about domains directories

just a mistake, forget to count from 0 on the last line
so for 7001th domain
/home/vpopmail/domains/0/7/
level_cur = 1 level_index1 = 8 the_dir = 0/7

xaf




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to