Re: info correct / quota wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Quoting Adam Tauno Williams <adam@xxxxxxxxxxxxxxxx>:
>> 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@sardine imap]# pwd
> /var/lib/imap
> [root@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

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux