Weekly/Monthly record-keeping / maintenance?

Jeff Blaine jblaine at kickflop.net
Thu Apr 2 10:42:23 EDT 2009


Okay, well, for what it's worth, I fixed all of the
problems prohibiting me from running a quota -f
to completion.

The problem: imapdu.pl is buggy

It fails to do the right thing with mailboxes containing
a space in the name.

...
1.46 MB 114 msgs INBOX.BMP
1.46 MB 114 msgs INBOX.Bio Stuff
0.00 bytes 0 msgs INBOX.Drafts
1.25 MB 36 msgs INBOX.HLT
1.25 MB 36 msgs INBOX.Information Retrieval
...

# $Id: imapdu.pl,v 1.9 2008/04/04 12:47:14 murch Exp $

I don't suppose 'murch', the author of the code reads
this list?

Jeff Blaine wrote:
> Well, hmm...
> 
> % sudo -u cyrus /local/mail/cyrus/bin/quota -f
> user.ahe: usage was 148771194, now 148756681
> ...
> user.william: usage was 107244707, now 107116597
> failed opening header for mailbox 'user.jay': System I/O error: %m
> failed building quota list for '*': System I/O error: %m
> 
> Apr  1 15:56:12 our.host.org quota[9819]: [ID 136705 local6.error] 
> IOERROR: opening /var/spool/imap/user/jay/cyrus.header: No such file or 
> directory
> Apr  1 15:56:12 our.host.org quota[9819]: [ID 357877 local6.error] 
> failed opening header for mailbox 'user.jay': System I/O error: Bad file 
> number
> Apr  1 15:56:13 our.host.org quota[9819]: [ID 809228 local6.error] 
> failed building quota list for '*': System I/O error: Bad file number
> 
> Wesley Craig wrote:
>> On 31 Mar 2009, at 16:50, Jeff Blaine wrote:
>>> What I mean, is, for one example -- a user is currently
>>> reporting that 'FETCH' (via the imapdu command) is showing
>>> 142 messages totalling 640KB in a folder that is actually
>>> completely empty on disk (except for cyrus.* files).
>> Fetch doesn't examine the messages in the mailbox if it doesn't need 
>> to.  Since you've reonstructed already, I wouldn't expect the seen DB is 
>> the problem.  Probably the quota.  Try rebuilding it.
>>
>> :wes
>>
> ----
> 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
> 


More information about the Info-cyrus mailing list