[Dovecot] dict quota problem

Sven Hartge sven at svenhartge.de
Sat Apr 30 02:36:26 EEST 2011

Papp Tamas <tompos at martos.bme.hu> wrote:
> On 04/20/2011 05:26 PM, Sven Hartge wrote:

>> Counting all meta-data is also very unintuitive for the user. Imagine
>> a user with an INBOX containing 200,000 mails. This will result in a
>> _huge_ directory inode for the INBOX folder (about 20MB for XFS). Now
>> he deletes all those mails and expects a quota usage of 0 bytes. But
>> the quota is still at 20MB, because the directory inode has not been
>> reduced by the filesystem.
>> I guarantee you, you will get numerous support calls.
>> At least I got them while using filesystem-based quotas.

> So, there is no exact or something closer solution with normal
> maildirs?

Define "exact". 

Trust me, you don't want to include any meta data or filesystem overhead
in the quota value presented to the user. Doing so is just asking for
trouble and grief.


Sigmentation fault. Core dumped.

More information about the dovecot mailing list