On 05/07/2014 10:38 PM, Alexander 'Leo' Bergolth wrote:
I am getting "Cached message size smaller than expected" errors since dovecot-2.1.x. Until now, I thought that those errors don't do any harm, I assumed that the cache will just be rebuilt after the error had been detected.
However, since dovecot 2.2.x (I tried 2.2.7 and 2.2.10), the errors sometimes seem to actually cause mail access to fail.
dovecot 2.2.12 and 2.2.13 also show the same errors: -------------------- 8< -------------------- May 13 10:38:07 samba dovecot: imap-login: Login: user=<xxx>, method=PLAIN, rip=172.23.60.1, lip=172.23.60.3, mpid=12503, secured, session=<LMyp+0P5bgCsFzwB> May 13 10:38:08 samba dovecot: imap(xxx): Error: Cached message size smaller than expected (68196 < 68197) May 13 10:38:08 samba dovecot: imap(xxx): Error: Corrupted index cache file /home/xxx/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail UID 1835 May 13 10:38:08 samba dovecot: imap(xxx): Error: read(/var/mail/xxx) failed: Invalid argument (uid=1835) May 13 10:38:08 samba dovecot: imap(xxx): Disconnected: Internal error occurred. Refer to server log for more information. [2014-05-13 10:38:07] in=794 out=264037 -------------------- 8< --------------------
As before, message size difference is always 1 byte.
Is there any debug mode that could be used to collect more information without flooding the server?
Cheers, --leo
e-mail ::: Leo.Bergolth (at) wu.ac.at
fax ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria