[Dovecot] maildir++ Quotas - bizarre behavior.
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
participants (1)
-
Apps Lists