[Dovecot] FETCH for mailbox INBOX UID 5003 got too little data: 5369 vs 38919

Timo Sirainen tss at iki.fi
Wed May 7 22:15:03 EEST 2008


On Mon, 2008-05-05 at 22:46 -0400, Adam McDougall wrote:
> This happened a while back, I was running 1.1rc3 up until today so I have no idea
> if it would have an effect.  Sorry if its something that has been fixed.  The 
> error below was repeated many many times, I deleted the index so the user would
> stop getting disconnected (although I didn't hear any complaints).

Only the index, not dovecot-uidlist also? I don't think it got fixed
until dovecot-uidlist was deleted/fixed.

> Apr 15 11:26:48 boomhauer dovecot: IMAP(username): FETCH for mailbox INBOX UID
> 5003 got too little data: 5369 vs 38919
> Apr 15 11:26:48 boomhauer dovecot: IMAP(username): Corrupted index cache file
> /home/username/Maildir/dovecot/private/indexes/.INBOX/dovecot.index.cache:
> Broken virtual size for mail UID 5003

Here Dovecot already marked cache file to be corrupted, causing it to be
rebuilt.

> >From dovecot-uidlist:
> 5003 W38919 S38270 :1208208981.7303_0.hill:2,S
> 
> -rw-------  1 username  faculty  5236 Apr 14 17:36 1208208981.7303_0.hill:2,S

Now this is the problem. Why did Dovecot think the message is 38 kB and
save it to dovecot-uidlist? How far do your snapshots go? Is it possible
that the file was modified somehow? Are ctime and mtime the same?

I guess Dovecot should also automatically fix broken dovecot-uidlist
fields. I'll add in TODO.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080507/b9060165/attachment.bin 


More information about the dovecot mailing list