Re: Mis-reported Mail quota
Brian Candler <[email protected]> Thu, 10 Jun 2004 18:07:45 +0100
| Newsgroups | gmane.mail.sqwebmail |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 10, 2004 at 11:42:37AM -0500, Dave Kettmann wrote:
> cat maildirsize
> 20971520S
... snip
Well, when I add up those figures, I get:
$ perl -ane '$t1+=$F[0]; $t2+=$F[1]; END { print "$t1 $t2\n"; }' <ert
13661820 48
So, maildirsize thinks there are 48 messages in there, totalling around
13MB, which is 65%.
If that's not the case, then I refer you to the answer I gave already today
(attached).
Did you build courier-imap using the --with-trashquota option?
Also, do an 'ls -laR' of the maildir. If there are messages which have
,S=nnnnnn in their filenames, then some maildir-aware applications will use
those sizes in preference to the actual disk usage of the files (because
it's quicker to get at). I presume courier does, but I've not investigated
the code.
Regards,
Brian.
(unnamed)
(message/rfc822, 2.5 KB) - not displayed