On Wed, Aug 23, 2000 at 01:55:52PM -0500, Greg Moeller wrote:

> I've just installed vpopmail and it's working quite nice.

Spiffy.  Although this may be a more appropriate question for the
vpopmail list, not the qmail list.

> The only problem I've encountered is with it's method of finding a
> directory for a new user.  The concept is good, only 100 users per
> directory, but when it goes to find a new one, after a few thousand
> users it can get very slow(and IO intensive on the box)  I was testing
> with adding 50,000 users to a domain and it took several hours to get
> to 7000.  If I were to move our user base to vpopmail in a single
> maintence window, it'd take a week or more!  :)

Try using the '-s' flag to vadduser.  I suspect you are seeing slow
downs from rehashing the cdb file after each new user is added.  The
'-s' flag tells it to not try to recreate the cdb file.  Then when you
are all done, run 'vmkpasswd' and you're all set.  You should see a
significant speed increase.

I created around 6000 accounts in about 15 minutes.  Give or take 5
minutes...

Ben

-- 
Ben Beuchler                                         [EMAIL PROTECTED]
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net

Reply via email to