On 10/14/2014 06:53 PM, Timo Sirainen wrote:
>       - Fixed several race conditions with dovecot.index.cache handling that
>         may have caused unnecessary "cache is corrupted" errors.

Rejoyed too soon! :-(
Unfortunately it doesn't fix my (maybe mbox related) index.cache errors 
reported back in May: http://markmail.org/message/xhxorbutl3encr2d

I know that Timo suggests to switch away from mbox but unfortunately this is 
rather challenging for me. Switching to maildir results in millions of files 
and this overwhelmes my backup system. mdbox also does not qualify since AFAIK 
there is no python or perl library support for manipulating mdbox mailboxes.
:-(

-------------------- 8< --------------------
Oct 15 15:08:34 samba dovecot: imap(USER1): Error: Corrupted index cache file 
/home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 75144
Oct 15 15:08:34 samba dovecot: imap(USER1): Error: copy: i_stream_read() 
failed: Invalid argument
Oct 15 15:08:34 samba dovecot: imap(USER1): Error: read(/var/mail/USER1) 
failed: Cached message size smaller than expected (55337 < 55338) (uid=51556, 
box=Trash)
Oct 15 15:20:02 samba dovecot: imap(USER2): Error: Cached message size smaller 
than expected (282553 < 282554)
Oct 15 15:20:02 samba dovecot: imap(USER2): Error: Corrupted index cache file 
/home/USER2/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 12364
Oct 15 15:20:02 samba dovecot: imap(USER2): Error: read(/var/mail/USER2) 
failed: Cached message size smaller than expected (282553 < 282554) (FETCH 
BODY[2] for mailbox INBOX UID 12364)
Oct 15 15:50:30 samba dovecot: imap(USER3): Error: Cached message size smaller 
than expected (58902 < 58903)
Oct 15 15:50:30 samba dovecot: imap(USER3): Error: Corrupted index cache file 
/home/USER3/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 19810
Oct 15 15:50:30 samba dovecot: imap(USER3): Error: read(/var/mail/USER3) 
failed: Cached message size smaller than expected (58902 < 58903) (FETCH BODY[] 
for mailbox INBOX UID 19810)
Oct 15 16:02:56 samba dovecot: imap(USER4): Error: Cached message size smaller 
than expected (181831 < 181832)
Oct 15 16:02:56 samba dovecot: imap(USER4): Error: Corrupted index cache file 
/home/USER4/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 2178
Oct 15 16:02:56 samba dovecot: imap(USER4): Error: read(/var/mail/USER4) 
failed: Cached message size smaller than expected (181831 < 181832) (FETCH 
BODY[] for mailbox INBOX UID 2178)
Oct 15 16:18:24 samba dovecot: imap(USER1): Error: Cached message size smaller 
than expected (55339 < 55340)
Oct 15 16:18:24 samba dovecot: imap(USER1): Error: Corrupted index cache file 
/home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 75144
Oct 15 16:18:24 samba dovecot: imap(USER1): Error: copy: i_stream_read() 
failed: Invalid argument
Oct 15 16:18:24 samba dovecot: imap(USER1): Error: read(/var/mail/USER1) 
failed: Cached message size smaller than expected (55339 < 55340) (uid=51559, 
box=Trash)
Oct 15 16:44:15 samba dovecot: imap(USER5): Error: Cached message size smaller 
than expected (6951359 < 6951360)
Oct 15 16:44:15 samba dovecot: imap(USER5): Error: Corrupted index cache file 
/home/USER5/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 5023
Oct 15 16:44:15 samba dovecot: imap(USER5): Error: read(/var/mail/USER5) 
failed: Cached message size smaller than expected (6951359 < 6951360) (FETCH 
BODY[3] for mailbox INBOX UID 5023)
Oct 15 21:27:45 samba dovecot: imap(USER1): Error: Cached message size smaller 
than expected (45743 < 45744)
Oct 15 21:27:45 samba dovecot: imap(USER1): Error: Corrupted index cache file 
/home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 75059
Oct 15 21:27:45 samba dovecot: imap(USER1): Error: copy: i_stream_read() 
failed: Invalid argument
Oct 15 21:27:45 samba dovecot: imap(USER1): Error: read(/var/mail/USER1) 
failed: Cached message size smaller than expected (45743 < 45744) (uid=51565, 
box=Trash)
Oct 16 05:10:41 samba dovecot: imap(USER1): Error: Cached message size smaller 
than expected (98120 < 98121)
Oct 16 05:10:41 samba dovecot: imap(USER1): Error: Corrupted index cache file 
/home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 75158
Oct 16 05:10:41 samba dovecot: imap(USER1): Error: copy: i_stream_read() 
failed: Invalid argument
Oct 16 05:10:41 samba dovecot: imap(USER1): Error: read(/var/mail/USER1) 
failed: Cached message size smaller than expected (98120 < 98121) (uid=51566, 
box=Trash)
Oct 16 07:11:12 samba dovecot: imap(USER6): Error: Cached message size smaller 
than expected (7991 < 7992)
Oct 16 07:11:12 samba dovecot: imap(USER6): Error: Corrupted index cache file 
/home/USER6/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 925
Oct 16 07:11:12 samba dovecot: imap(USER6): Error: read(/var/mail/USER6) 
failed: Invalid argument
Oct 16 08:49:30 samba dovecot: imap(USER1): Error: Cached message size smaller 
than expected (68834 < 68835)
Oct 16 08:49:30 samba dovecot: imap(USER1): Error: Corrupted index cache file 
/home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 75168
Oct 16 08:49:30 samba dovecot: imap(USER1): Error: copy: i_stream_read() 
failed: Invalid argument
Oct 16 08:49:30 samba dovecot: imap(USER1): Error: read(/var/mail/USER1) 
failed: Cached message size smaller than expected (68834 < 68835) (uid=1198, 
box=A_Leitung)
Oct 16 09:07:56 samba dovecot: imap(USER7): Error: Cached message size smaller 
than expected (367995 < 367997)
Oct 16 09:07:56 samba dovecot: imap(USER7): Error: Corrupted index cache file 
/home/USER7/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail 
UID 25775
Oct 16 09:07:56 samba dovecot: imap(USER7): Error: read(/var/mail/USER7) 
failed: Cached message size smaller than expected (367995 < 367997) (FETCH 
BODY[] for mailbox INBOX UID 25775)
-------------------- 8< --------------------

Cheers,
--leo
-- 
e-mail   ::: Leo.Bergolth (at) wu.ac.at   
fax      ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria

Reply via email to