On 19.12.2012 00:22, Morten Stevens wrote:
On 18.12.2012 23:44, Timo Sirainen wrote:
On 19.12.2012, at 0.40, Morten Stevens <mstevens@imt-systems.com> wrote:
Dec 10 15:21:04 mail dovecot: imap(user@example.org): Error: Cached message size smaller than expected (5010 < 8192) Dec 10 15:21:04 mail dovecot: imap(user@example.org): Error: Corrupted index cache file /var/vmail/example.org/user//mdbox/mailboxes/INBOX/Ubuntu/dbox-Mails/dovecot.index.cache: Broken physical size for mail UID 27517
Could you try if this fix helps? http://hg.dovecot.org/dovecot-2.1/rev/bded819417d9
Thanks for the quick reply, but it doesn't help.
Can you easily reproduce this with a new empty user, using some simple IMAP commands? Or alternatively running imaptest tool? http://imapwiki.org/ImapTest
I'm not able to reproduce this with a new empty user and I am also not able to reproduce this error after I deleted the affected folders and recreated them.
Hi Timo,
I see the error again. (this is a newly created folder)
Dec 19 14:20:45 mail dovecot: imap-login: Login: user=<user2@example.org>, method=PLAIN, rip=109.90.118.156, lip=81.30.145.131, mpid=16599, TLS, session=<0jJoezTRewBtWnac> Dec 19 14:20:57 mail dovecot: imap(user2@example.org): Error: Cached message size larger than expected (4318 > 4244) Dec 19 14:20:57 mail dovecot: imap(user2@example.org): Error: Corrupted index cache file /var/vmail/example.org/user2//mdbox/mailboxes/Wiki/dbox-Mails/dovecot.index.cache: Broken physical size for mail UID 15 Dec 19 14:20:57 mail dovecot: imap(user2@example.org): Error: read(/var/vmail/example.org/user2//mdbox/storage/m.15626) failed: Input/output error (FETCH for mailbox Wiki UID 15) Dec 19 14:20:57 mail dovecot: imap(user2@example.org): Disconnected: Internal error occurred. Refer to server log for more information. [2012-12-19 14:20:57] in=2153 out=1200970
Do you need the index cache files?
Best regards,
Morten