Hello Bill,

Tuesday, October 23, 2001, 7:40:19 PM, you wrote:

Found the way to fix this feature only to hack vpopmail.c module.

For example:

command some lines in this place:

//    if ( strlen(domain_sub_dir) > 0 ) {
//      snprintf(DomainSubDir, FILE_SIZE, "%s/%s", domain_sub_dir, domain);
//    } else {
        snprintf(DomainSubDir, FILE_SIZE, "%s", domain);
//    }


BS> On Tuesday, October 23, 2001, at 10:34 AM, Yuri A. Kabaenkov wrote:

>> Hello,
>>
>> i am using vpopmail+ qmail for many years.
>>
>> And today when i using vadduser,vadddomains command
>>
>> domains directorys now creates in /home/vpopmail/domains/0/test.com
>>
>>
>> old behavior was simply /home/vpopmail/domains/test.com
>>
>> what means this '0' ? I doesn't want to use it, because i am using my
>> own software to add,rem users and it doesn't like this 0.


BS> This happens after about 100 domains, I think.  It's part of the 
BS> "balenced tree structure" feature.  Unless you manually add your domains 
BS> as well, I don't know of a way around it.

BS> You're probably better off getting the domain path from 
BS> /var/qmail/users/assign.  And for that matter, you could us vuserinfo to 
BS> get user directory paths too, if you wanted to use vpopmail's vadduser 
BS> to utilize this feature.

BS> Cheers,

BS> Bill Shupp




------------
With respect,
Yuri A. Kabaenkov
[EMAIL PROTECTED]



Reply via email to