Some mails are marked as unread when changing IMAP folders using dovecot as imap server. It's related to CONDSTORE support by IMAP server. There is a fix in the provided URL. Patch: https://bug540554.bugzilla.mozilla.org/attachment.cgi?id=423060 Please make a -r1 as this bug is really annoying. Reproducible: Always
*** This bug has been marked as a duplicate of bug 298044 ***
I think is a different bug. If you see the patch its an obvious mistake and really easy fix. And it's working for me. See the patch: - memset(fUids.Elements(), fNumberOfMessageSlotsAllocated * sizeof(nsMsgKey), 0); + memset(fUids.Elements(), 0, fNumberOfMessageSlotsAllocated *