I get a few messages of this ilk each day: Dec 16 01:56:31 aurora dovecot: IMAP(doug): Corrupted index cache file /home/doug/Maildir/.users.joe/dovecot.index.cache: indexid changed I usually address this by deleting dovecot.* in the directory of issue. I was thinking that I could instead just have the server delete these files and attempt to recreate them, and skipping that error message unless the re-created files are also corrupted. Any problems with this approach? Thanks, Doug
On Thu, 2004-12-16 at 05:02 -0500, Doug Luce wrote:> I get a few messages of this ilk each day: > > Dec 16 01:56:31 aurora dovecot: IMAP(doug): Corrupted index cache file > /home/doug/Maildir/.users.joe/dovecot.index.cache: indexid changedThat is not an error, but it usually happens because of an error. Doesn't it say anything else? It basically means that dovecot.index file was recreated for some reason (it was corrupted or deleted). One day I'll get rid of that error message unless the change really was unexpected..> I usually address this by deleting dovecot.* in the directory of issue. I > was thinking that I could instead just have the server delete these files > and attempt to recreate them, and skipping that error message unless the > re-created files are also corrupted.Deleting the files shouldn't make any difference, because that message just said they were recreated. Or does it keep breaking unless they are deleted? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20041219/8d837b7a/attachment-0001.bin>
I've noticed that the IMAP connection is closed (Pine reports INBOX(CLOSED)) right after those messages. Other than login messages, those are the only Dovecot messages in my maillog. Can I do something else to help with diagnosis? Doug On Sun, 19 Dec 2004, Timo Sirainen wrote:> Date: Sun, 19 Dec 2004 07:40:41 +0200 > From: Timo Sirainen <tss at iki.fi> > To: Doug Luce <doug at dovecot.con.com> > Cc: dovecot at dovecot.org > Subject: Re: [Dovecot] Just delete that index > > On Thu, 2004-12-16 at 05:02 -0500, Doug Luce wrote: >> I get a few messages of this ilk each day: >> >> Dec 16 01:56:31 aurora dovecot: IMAP(doug): Corrupted index cache file >> /home/doug/Maildir/.users.joe/dovecot.index.cache: indexid changed > > That is not an error, but it usually happens because of an error. > Doesn't it say anything else? It basically means that dovecot.index file > was recreated for some reason (it was corrupted or deleted). > > One day I'll get rid of that error message unless the change really was > unexpected.. > >> I usually address this by deleting dovecot.* in the directory of issue. I >> was thinking that I could instead just have the server delete these files >> and attempt to recreate them, and skipping that error message unless the >> re-created files are also corrupted. > > Deleting the files shouldn't make any difference, because that message > just said they were recreated. Or does it keep breaking unless they are > deleted? > >