[Dovecot] Marking all messages in folder as read doesn't work

Timo Sirainen tss at iki.fi
Sun Dec 3 15:51:48 UTC 2006


On Sun, 2006-12-03 at 16:17 +0100, John and Catherine Allen wrote:
> The unread messages are not changed, they do not have the S flag in the filename.
> 
> > If it shows that the files have never changed, you could check with
> > strace what happens:
> > 
> > strace -p <imap process pid> 2>log
> > grep rename log
> 
> There is no sign of a rename in the strace log.

In that case I'm guessing that the client doesn't even try to set the
seen flags.

Could you give strace -s 1000 parameter and send the whole strace to me?

> There is also something odd in the Dovecot syslog messages:
> Dec  3 10:08:19 [dovecot] IMAP(allen): Corrupted index cache file 
> /home/allen/Maildir/.Spam-2006-
> 2/dovecot.index.cache: field header names corrupted

Well, this isn't exactly a good thing but it isn't really harmful
either, since the error won't show up to clients in any way. Do you
happen to use NFS?

> I also see that in fact there is no file "dovecot.index.cache" for this folder.

It's deleted after that error.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061203/960f877f/attachment-0001.pgp 


More information about the dovecot mailing list