Artur ZaprzaĆa
2012-Apr-12 11:47 UTC
[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 at domain): Error: Cached message size larger than expected (2580 > 1451) doveadm(foo at 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 at domain): Error: Corrupted index cache file /vmail/domain/foo/Maildir/.Sent/dovecot.index.cache: Broken physical size for mail UID 2 doveadm(foo at domain): Error: Cached message size larger than expected (2580 > 1451) doveadm(foo at domain): Error: Corrupted index cache file /vmail/domain/foo/Maildir/.Sent/dovecot.index.cache: Broken physical size for mail UID 2 doveadm(foo at 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
Timo Sirainen
2012-Apr-12 11:49 UTC
[Dovecot] "doveadm mailbox status" destroys compressed messages without W= attribute
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