After upgrading dovecot to 2.1.7 (wheezy) the mailbox index files seems to be broken. Normaly dovecot should repairs them automatically but due to zlib compression it is not able to determine the correct message size.
Error: Corrupted index cache file ... Input/output error (FETCH for mailbox INBOX UID ... Maildir filename has wrong S value ...
Now I'd like to disable the zlib plugin completely and decompress the existing messages. Trials with dsync where unsuccessful, because dsync does not decompress them at all.
Any suggestions how to deal with it?