On 30 Jan 2005, [EMAIL PROTECTED] wrote:

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

Others have pointed out the file system is a critical component here.

I wanted to mention that when you go over 300-500 entries per directory,
simple shell commands start failing because you exceed the command
line limit.  Also, it's much harder to take a look at a problem
directory quickly.

You can just use the first letters of the user name, that's a pretty
popular scheme:

1 level:
k/karolis
t/tzz

2 levels:
k/ka/karolis
t/tz/tzz

and so on...  The advantage is that you'll get a fairly even
distribution, and you know exactly where to find any user's Maildir
(with numeric subdirectories, you have to hunt for it or keep a
database).

Ted

Reply via email to