Hi Timo et al. I've been trying to track down why Dovecot recalculations of maildirsize are so wildly different (lower) than what Maildrop comes up with. I think I've found some bizarre behavior in Dovecot -- this is in beta9 as well as CVS from yesterday. It appears Dovecot isn't looking at /Maildir/cur ... /Maildir/new and /Maildir/tmp. It is, however, looking at /Maildir/.Drafts, /Maildir/.Sent, and /Maildir/.Trash. None of these folders contain any messages, but Dovecot seems to count the existence of . and .. as message files. Worse, it's coming up with actual usage data for these empty (of messages) folders. Presumably it's counting the log and cache files. I've attached a diff to quota-maildir.c which will enable some verbose logging. Also attached is a ls -lR of the Maildir in question as well as the output of the aforementioned debugging. Please help. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: quotalogging.patch Type: application/octet-stream Size: 6797 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20060622/d17d0ecc/attachment.obj> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ls-lR.txt URL: <http://dovecot.org/pipermail/dovecot/attachments/20060622/d17d0ecc/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: maildirsize-calculations.txt URL: <http://dovecot.org/pipermail/dovecot/attachments/20060622/d17d0ecc/attachment-0001.txt>