Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-14 Thread Rainer Duffner
Bert JW Regeer wrote: Hey Ismail, I would like to see some stats on this. Do you have any facts or evidence to back this up? It's true - if you don't have some sort of directory-hashing (UFS_DIRHASH in FreeBSD-land) in place, which for FreeBSD has been default since sometime in the early

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-14 Thread Bert JW Regeer
On Oct 14, 2006, at 16:06:30 MST, Rainer Duffner wrote: Bert JW Regeer wrote: Hey Ismail, I would like to see some stats on this. Do you have any facts or evidence to back this up? It's true - if you don't have some sort of directory-hashing (UFS_DIRHASH in FreeBSD-land) in place,

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-14 Thread Joshua Megerman
On Saturday 14 October 2006 19:06, Rainer Duffner wrote: BTW: Does the latest version of vpopmail include the patch someone posted that fills up earlier hash-directories, where domains have been deleted from, instead of creating new ones? Nope, it doesn't (I wrote the patch, and last I heard

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-14 Thread Tom Collins
On Oct 14, 2006, at 4:16 PM, Joshua Megerman wrote: Nope, it doesn't (I wrote the patch, and last I heard it hadn't even been considered... ) I posted the patch here a while back - while it may take a little hacking, it should work fine with the latest vpopmail. Please re-email it directly

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-14 Thread Jon Simola
On 10/14/06, Bert JW Regeer [EMAIL PROTECTED] wrote: On Oct 14, 2006, at 16:06:30 MST, Rainer Duffner wrote: See above. DJB was or is a (Free)-BSD user (when he started, Linux was a toy anyway), which back in these days had this problem. Agreed, however his Maildir approach did not

Re: Re[2]: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-13 Thread Bert JW Regeer
Hey Ismail, I would like to see some stats on this. Do you have any facts or evidence to back this up? On current systems 7000 directories inside a directory should not be a problem. Most employ hashing of some sort to speed up this kind of thing. On my FreeBSD system there is currently

Re[2]: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-09 Thread Ismail YENIGUL
Dave, vuserinfo -d [EMAIL PROTECTED] will give you the user's Maildir directory. # ~vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] /home/vpopmail/domains/domain.com/postmaster You can add the following lines to the your script (I don't know what kind of script (perl, shell etc) do you use, so

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-08 Thread Dave Richardson
OK, fair point. So let me ask this please. If I migrate with big-dirs DISABLED, then I recompile to enable big-dirs AND I move some accounts into subfolders a, b, c, etc while making appropriate adjustments in vpopmail table, is that an appropriate way to control this risk? THANKS!

Re[2]: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-08 Thread Ismail YENIGUL
Dave, What is the problem with big-dirs while migrating the users? If you can tell us the reason of the disabling big-dirs, We can try to find out a solution without disabling big-dirs. I guess it is related with the script? Sunday, October 8, 2006, 11:29:56 PM, you wrote: OK, fair point.

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-08 Thread Dave Richardson
Sure, I've tried to get vconvert to work on the source server, but it's a really old version of vpopmail and the files for the users on an NFS mount in a non-standard folder. There are other issues with the source configuration, but in short, they have all 7000 users in one primary domain

Re[2]: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-07 Thread Ismail YENIGUL
Dave, Please note that creating 7000 sub directories in a single directory will effect your performance negatively. Friday, October 6, 2006, 11:50:26 PM, you wrote: Rick Macdougall wrote: Dave Richardson wrote: I'm using a script to add thousands of user accounts as part of a migration

[vchkpw] Why is vadduser creating a hierarchy?

2006-10-06 Thread Dave Richardson
I'm using a script to add thousands of user accounts as part of a migration for a single domain. It's a perl script making repeated calls to /home/vpopmail/bin/vadduser -e dsfgskjghaekjrgkr [EMAIL PROTECTED] The scripting is working fine, I see the accounts correctly in MySQL's vpopmail

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-06 Thread Dave Richardson
OK, I RTFM'd and found this from Ken... but CAN I TURN IT OFF? Is anyone out there? Virtual domain user directory structure Vpopmail uses an adaptive directory structure based on a state file .dir-control which is automatically managed by the core vpopmail api functions vadduser and

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-06 Thread Rick Macdougall
Dave Richardson wrote: I'm using a script to add thousands of user accounts as part of a migration for a single domain. It's a perl script making repeated calls to /home/vpopmail/bin/vadduser -e dsfgskjghaekjrgkr [EMAIL PROTECTED] The scripting is working fine, I see the accounts correctly in

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-06 Thread Jon Simola
On 10/6/06, Dave Richardson [EMAIL PROTECTED] wrote: However, I'm seeing vadduser create a hierarchy of folders after about the first 80-100 users are added. Using subfolders A-z,0-9. I only have about 7,000 users to manage and would rather NOT subtree (whatever the term is) this user

Re: [vchkpw] Why is vadduser creating a hierarchy?

2006-10-06 Thread Dave Richardson
Rick Macdougall wrote: Dave Richardson wrote: I'm using a script to add thousands of user accounts as part of a migration for a single domain. It's a perl script making repeated calls to /home/vpopmail/bin/vadduser -e dsfgskjghaekjrgkr [EMAIL PROTECTED] The scripting is working fine, I see