Re: [Dovecot] Corrupt index file zlib

2013-05-29 Thread Robert Schetterer
Am 29.05.2013 14:06, schrieb Paul Lim:
> 
> Robert Schetterer  sys4.de> writes:
> 
>>
>> Am 29.05.2013 06:34, schrieb Paul Lim:
>>> Hi, 
>>> I'm getting this error constantly on a couple of folders.  No matter
>>> what I do it keeps recurring. 
>>>
>>
>> 2.1.7 is old use the recent version then retry fixing
>>
>> Best Regards
>> MfG Robert Schetterer
>>
> 
> Hi Robert,
> I've got 2.1.7-7 installed which is the stable package release for wheezy. 
> I'd prefer not to break from stable releases on my production server.
> 
> thanks
> Paul

so you might miss bugfixes, current 2.1.x is 2.1.16
in this case you shouldnt share debians meaning of what is stable

> 
> 
> 



Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


Re: [Dovecot] Corrupt index file zlib

2013-05-29 Thread Paul Lim

Robert Schetterer  sys4.de> writes:

> 
> Am 29.05.2013 06:34, schrieb Paul Lim:
> > Hi, 
> > I'm getting this error constantly on a couple of folders.  No matter
> > what I do it keeps recurring. 
> > 
> 
> 2.1.7 is old use the recent version then retry fixing
> 
> Best Regards
> MfG Robert Schetterer
> 

Hi Robert,
I've got 2.1.7-7 installed which is the stable package release for wheezy. 
I'd prefer not to break from stable releases on my production server.

thanks
Paul





Re: [Dovecot] Corrupt index file zlib

2013-05-29 Thread Robert Schetterer
Am 29.05.2013 06:34, schrieb Paul Lim:
> Hi, 
> I'm getting this error constantly on a couple of folders.  No matter
> what I do it keeps recurring. 
> 

2.1.7 is old use the recent version then retry fixing


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


[Dovecot] Corrupt index file zlib

2013-05-29 Thread Paul Lim
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
G1b2d4a37936fa551430dc0318918 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