[Dovecot] "doveadm mailbox status" destroys compressed messages without W= attribute
I still have some old messages from previous mail server. This messages have no W= attribute either in file name or dovecot-uidlist and are compressed with gzip. Running "doveadm mailbox status -A vsize \*" will result in the following messages:
doveadm(foo@domain): Error: Cached message size larger than expected (2580 > 1451) doveadm(foo@domain): Error: Maildir filename has wrong S value, renamed the file from /vmail/domain/foo/Maildir/.Sent/cur/1206550323.M125837P13306V0000000000000812I0000809E.oldname,S=2580:2,SZ to /vmail/domain/foo/Maildir/.Sent/cur/1206550323.M125837P13306V0000000000000812I0000809E.oldname,S=1451:2,SZ doveadm(foo@domain): Error: Corrupted index cache file /vmail/domain/foo/Maildir/.Sent/dovecot.index.cache: Broken physical size for mail UID 2 doveadm(foo@domain): Error: Cached message size larger than expected (2580 > 1451) doveadm(foo@domain): Error: Corrupted index cache file /vmail/domain/foo/Maildir/.Sent/dovecot.index.cache: Broken physical size for mail UID 2 doveadm(foo@domain): Error: read(/vmail/domain/foo/Maildir/.Sent/cur/1206550323.M125837P13306V0000000000000812I0000809E.oldname,S=2580:2,SZ) failed: Input/output error (uid=2)
(Size of uncompressed message is 2580 and compressed size is 1451)
I have enabled zlib plugin for imap, pop3, lda and lmtp. But how to enable it for doveadm?
-- Best regards, Artur Zaprzała
On 12.4.2012, at 14.47, Artur Zaprzała wrote:
I have enabled zlib plugin for imap, pop3, lda and lmtp. But how to enable it for doveadm?
Just set it globally:
mail_plugins = zlib
participants (2)
-
Artur Zaprzała
-
Timo Sirainen