[Dovecot] dovecot index errors since 2.1.12

Morten Stevens mstevens at imt-systems.com
Wed Dec 19 00:40:05 EET 2012


On 18.12.2012 22:42, Timo Sirainen wrote:
> On 18.12.2012, at 23.37, Morten Stevens <mstevens at imt-systems.com> wrote:
>
>> After upgrading to dovecot 2.1.12, I see a lot of these errors:
>>
>> # 2.1.12: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
>> # Filesystem: ext4 with mdbox storage
>>
>> Dec 10 15:21:04 mail dovecot: imap(user at example.org): Error: Cached message size smaller than expected (5010 < 8192)
>> Dec 10 15:21:04 mail dovecot: imap(user at 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

Hi Timo,

Thanks for the quick reply, but it doesn't help.

Dec 18 23:25:28 mail dovecot: imap(user2 at example.org): Error: Cached 
message size larger than expected (5437 > 3778)
Dec 18 23:25:28 mail dovecot: imap(user2 at example.org): Error: Corrupted 
index cache file 
/var/vmail/example.org/user2//mdbox/mailboxes/Commit/dbox-Mails/dovecot.index.cache: 
Broken physical size for mail UID 684475
Dec 18 23:25:28 mail dovecot: imap(user2 at example.org): Error: 
read(/var/vmail/example.org/user2//mdbox/storage/m.15613) failed: 
Input/output error (FETCH for mailbox Commit UID 684475)
Dec 18 23:25:28 mail dovecot: imap(user2 at example.org): Disconnected: 
Internal error occurred. Refer to server log for more information. 
[2012-12-18 23:25:28] in=6602 out=5191621

Dec 18 23:25:52 mail dovecot: imap(user2 at example.org): Error: Cached 
message size larger than expected (8371 > 7123)
Dec 18 23:25:52 mail dovecot: imap(user2 at example.org): Error: Corrupted 
index cache file 
/var/vmail/example.org/user2//mdbox/mailboxes/LKML/dbox-Mails/dovecot.index.cache: 
Broken physical size for mail UID 216722
Dec 18 23:25:52 mail dovecot: imap(user2 at example.org): Error: 
read(/var/vmail/example.org/user2//mdbox/storage/m.15604) failed: 
Input/output error (FETCH for mailbox LKML UID 216722)
Dec 18 23:25:52 mail dovecot: imap(user2 at example.org): Disconnected: 
Internal error occurred. Refer to server log for more information. 
[2012-12-18 23:25:52] in=24312 out=41801670

Dec 18 23:26:00 mail dovecot: imap(user2 at example.org): Error: Cached 
message size larger than expected (6008 > 5194)
Dec 18 23:26:00 mail dovecot: imap(user2 at example.org): Error: Corrupted 
index cache file 
/var/vmail/example.org/user2//mdbox/mailboxes/Google/dbox-Mails/dovecot.index.cache: 
Broken physical size for mail UID 935885
Dec 18 23:26:00 mail dovecot: imap(user2 at example.org): Error: 
read(/var/vmail/example.org/user2//mdbox/storage/m.15620) failed: 
Input/output error (FETCH for mailbox Google UID 935885)
Dec 18 23:26:00 mail dovecot: imap(user2 at example.org): Disconnected: 
Internal error occurred. Refer to server log for more information. 
[2012-12-18 23:26:00] in=6334 out=7859459

Dec 18 23:26:38 mail dovecot: imap(user2 at example.org): Error: Cached 
message size smaller than expected (4433 < 5226)
Dec 18 23:26:38 mail dovecot: imap(user2 at example.org): Error: Corrupted 
index cache file 
/var/vmail/example.org/user2//mdbox/mailboxes/Bugs/dbox-Mails/dovecot.index.cache: 
Broken physical size for mail UID 497733
Dec 18 23:26:38 mail dovecot: imap(user2 at example.org): Error: 
read(/var/vmail/example.org/user2//mdbox/storage/m.15620) failed: 
Input/output error (FETCH for mailbox Bugs UID 497733)
Dec 18 23:26:38 mail dovecot: imap(user2 at example.org): Disconnected: 
Internal error occurred. Refer to server log for more information. 
[2012-12-18 23:26:38] in=1589 out=1320584

Do you have an idea?

Best regards,

Morten



More information about the dovecot mailing list