[Dovecot] Corrupted index cache files

Timo Sirainen tss at iki.fi
Tue Aug 12 21:30:58 EEST 2008


On Aug 8, 2008, at 9:59 PM, Mike Abbott wrote:

> I see these errors more often than I'd like from Dovecot-1.1.2 on  
> Mac OS X 10.5.4 (names and numbers elided):

One or more users?

> Corrupted index cache file %s: Corrupted virtual size for uid=%d:  
> %d != %d
> Corrupted index cache file %s: Broken virtual size for mail UID %d
> Corrupted index cache file %s: used_file_size too large
>
> How bad are these?

As long as Dovecot detects the corruption, the errors are transparent  
to users since Dovecot fixes them automatically.

>  What should I look for to find out why they happen?
>
> Other details:
> File system is HFS+
> Mail store is maildir
> Hardware is Intel (Mac Pro)

Post your dovecot -n output? Can you reproduce these easily with my  
imaptest tool? http://imapwiki.org/ImapTest

One problem with HFS+ is that hard links are more or less buggy. But  
v1.1's default settings should include dotlock_use_excl=yes. You maybe  
should set maildir_copy_with_hardlinks=no, but that shouldn't cause  
this bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080812/6d1895dc/attachment.bin 


More information about the dovecot mailing list