info correct / quota wrong
Simon Matter
simon.matter at invoca.ch
Mon Sep 15 02:27:31 EDT 2008
> Quoting Adam Tauno Williams <adam at morrison-ind.com>:
>> After migrating and updating my IMAP server everything seems to working,
>> but the quota reports wrong information for *SOME* mailboxes, seemingly
>> at random
>> cyrus-imapd-2.3.12p2-1 (CentOS5)
>> The quota value is crazy wrong!
>> localhost.localdomain> info user.fred
>> {user.fred}:
>> condstore: false
>> duplicatedeliver: false
>> lastpop:
>> lastupdate: 14-Sep-2008 00:32:16 -0400
>> partition: default
>> sharedseen: false
>> size: 127583
>> -bash-3.2$ /usr/lib/cyrus-imapd/quota -f | grep fred
>> 0 4401742 user.fred
>> -bash-3.2$ du -sk /var/spool/imap/f/user/fred/
>> 225296 /var/spool/imap/f/user/fred/
>> I can believe the result of "user.fred", but the quota report is
>> clearly wrong.
>
> I've force complete recreation of the cyrus quota database; and it
> has come up with the same numbers.
>
>
> service cyrus-imapd stop
>
> [root at sardine imap]# pwd
> /var/lib/imap
> [root at sardine imap]# rm -f ./db.backup2/quotas.db ./quotas.db
> ./db.backup1/quotas.db
>
> service cyrus-imapd stop
You may try to first fix mailbox metadata with reconstruct -r -f on those
mailboxes. This is what helped when I had such problems.
Simon
More information about the Info-cyrus
mailing list