hello qmail-ldap users,

I run a free email server using qmail-ldap and store messages in a
directory structure like this:

/maildirs/domain.com/user

as with everything that is free, the amount of users is growing day by
day :) So I am wondering what happens if there are 1000 users in the
system. There will be 1000 directories (maildirs) in domain.com. That
sounds kind of OK.

what if there are 100k users? I guess it would slow down filesystem
quite a bit, no? Maybe it would be a good idea to split the directory
into something like:

/maildirs/domain.com/001/userxxxx
/maildirs/domain.com/001/userxxxy
/maildirs/domain.com/001/userxxxz
/maildirs/domain.com/001/....
/maildirs/domain.com/002/userxxx
/maildirs/domain.com/002/....
...
/maildirs/domain.com/XXX/userxxx

The question is: how many maildirs per directory is a good idea?

thanks,
Karolis

Reply via email to