[Dovecot] Corrupted index cache file issues (Corrupted physical size)

Brent Bloxam brentb at beanfield.com
Tue Jun 9 22:26:52 EEST 2009


Timo Sirainen wrote:
> On Jun 9, 2009, at 11:49 AM, Brent Bloxam wrote:
> 
>> Timo Sirainen wrote:
>>> On Jun 8, 2009, at 7:06 AM, Brent Bloxam wrote:
>>>> Hello,
>>>>
>>>> I'm running Dovecot 1.1.13 on FreeBSD 7.0-RELEASE and I'm receiving 
>>>> a large number of errors much like the following:
>>>>
>>>> dovecot: Jun 08 09:27:04 Error: IMAP(x at x.x): Corrupted index cache 
>>>> file /nfs/x.x/x/Maildir/dovecot.index.cache: Corrupted physical size 
>>>> for uid=2284: 5312 != 5217
>>> How are you saving messages to the maildir? Do these happen for new 
>>> mails also or only old ones?
>>
>> At the moment messages are being saved to the maildir through maildrop 
>> (called from qmail), as we're migrating from an old system. I'm not 
>> sure how I could go about pinpointing whether this affects new or old 
>> emails as I'm not aware of what actually generates this error. Any 
>> suggestions?
> 
> You'll see the uid=2284 above. Find the filename for that UID from 
> dovecot-uidlist file and see how new the file is. Also does that 
> filename contain ,S=5312? And what is the real size of the file?
> 

Thanks. The errors I've checked are occurring for recent files, looks 
like the S= field doesn't match the real size, for example:

33568 Jun 8 23:46 1235105170.42208.abc.xyz.com,S=33498:2,RS

Looking at older e-mails though I am seeing S != real size for some 
e-mail. Would dovecot ever be modifying the S field, or is this actually 
pointing to an issue with the LDA?


More information about the dovecot mailing list