From: "Adonis El Fakih" <[EMAIL PROTECTED]>
> However there is a question that now pops to mind...
> Every time a quota is set, a file in created under
/var/imap/quota/$username
>
> If the number of users is large i.e. over 30k users, you will have
> problems under linux, since you can not create more that 30k
> directories/files under one directory. I am assuming similar limits exists
> in other operating systems..  So for now, I scan all account using du -sk
> and any account over 20Mb gets a quota inforcement, otherwise I will run
> out of quota files..
>
> Has anyone faced this problem??  Any ideas??

You need to upgrade to either cyrus-imapd 1.6.24, 1.6.25-BETA, or 2.x.  As
these version support hashing the directories based on the first letter of
the users name for the quota, user, sieve and the IMAP spool directories.

After you install 1.6.x or 2.x, you will need to use the dohash script to
convert your existing files to the hashed directory format.  If you want
your IMAP spool directory hashed as well you need to set hashimapspool to
true in imapd.conf.

Scot

Reply via email to