[Dovecot] Corrupt index file zlib

Paul Lim paul at fudj.net
Wed May 29 07:34:36 EEST 2013


Hi, 
I'm getting this error constantly on a couple of folders.  No matter
what I do it keeps recurring. 

-- 
2013-05-29 14:15:03
imap(nj@***.com.au): Error: Cached message size smaller than expected
(2551 < 8192) 2013-05-29 14:15:03 imap(nj@***.com.au): Error: Maildir
filename has wrong S value, renamed the file from 
/home/***.com.au/nj/.***.Builders/cur/1369030267.M775209P12595.pygmy,S=
/2551:2,S to
/home/***.com.au/nj/.***.Builders/cur/1369030267.M775209P12595.pygmy,S=
/2551:2,S
2013-05-29 14:15:03 imap(nj@***.com.au): Error: Corrupted index cache
file 
/home/archarch.com.au/nj/.***.Builders/dovecot.index.cache: Broken
/physical size for mail UID 
13 2013-05-29 14:15:03 imap(nj@***.com.au): Error: Cached message size
smaller than expected (2551 < 8284) 2013-05-29 14:15:03
imap(nj@***.com.au): Error: Maildir filename has wrong S value, renamed
the file from 
/home/***.com.au/nj/.***.Builders/cur/1369030267.M775209P12595.pygmy,S=
/2551:2,S to
/home/***.com.au/nj/.***.Builders/cur/1369030267.M775209P12595.pygmy,S=
/2551:2,S
2013-05-29 14:15:03 imap(nj@***.com.au): Error: Corrupted index cache
file 
/home/archarch.com.au/nj/.***.Builders/dovecot.index.cache: Broken
/physical size for mail UID 
13 2013-05-29 14:15:03 imap(nj@***.com.au): Error:
read(/home/***.com.au/nj/.***.Builders/cur/1369030267.M775209P12595.
pygmy,S=2551:2,S) failed: Input/output error (uid=13) 
---

stuff I've done: 
- Deleted dovecot* in .Builders/ 
- run maildir-size-fix.pl -v -r -f- c on .Builders/ - delete and 
recreate the folder

Dovecot 2.1.7 (wheezy) zlib enabled maildir_broken_filename_sizes = yes

There are only 6 emails, so it's only building dovecot.index.log, not
the cache file

--- dovecot-uidlist --- 
3 V1317717759 N1
G1b2d4a37936fa551430d0000c0318918 1
:1369030267.M775209P12595.pygmy,S=8284 2
:1369030564.M957106P12595.pygmy,S=13188 3
:1369030568.M223636P12595.pygmy,S=23270 4
:1369030568.M223637P12595.pygmy,S=10813 5
:1369030568.M223638P12595.pygmy,S=58600 6
:1369030615.M783237P12595.pygmy,S=9677 7
:1369030267.M775209P12595.pygmy,S=2551 8
:1369030564.M957106P12595.pygmy,S=3560 
-----

--- ls cur --- 
1369030267.M775209P12595.pygmy,S=8284:2,S
1369030564.M957106P12595.pygmy,S=13188:2,RS
1369030568.M223636P12595.pygmy,S=23270:2,RS
1369030568.M223637P12595.pygmy,S=10813:2,RS
1369030568.M223638P12595.pygmy,S=58600:2,RS
1369030615.M783237P12595.pygmy,S=9677:2,RS 
----

It all seems to match... but it continues to break.  If I delete the
first email file, it breaks on the next one as well. Any thoughts?? 
I'm thinking I'll probably disable zlib if I can't find a solution... 
will this mean I have to decompress all the compressed emails?

cheers Paul



More information about the dovecot mailing list