Matt McClure
2004-Sep-12 22:31 UTC
[Dovecot] duplicate message headers in Thunderbird with dovecot server
I've been trying to diagnose some strange interaction between dovecot and Mozilla Thunderbird. If two clients are connected to a dovecot IMAP server, Mozilla-based clients start showing multiple messages in the message list for each message that arrives after the sessions were started. There is really only one copy of the message in the mbox file on the server. However, its UID changes repeatedly during the session, and Mozilla gets confused. From looking at Thunderbird's log of the IMAP conversation, it seems the message sequence number does not change, and I'm guessing that other clients handle the situation better because of this. Nevertheless, I found this in the IMAP RFC 3501, so my interpretation is that there is a dovecot bug involved: The unique identifier of a message MUST NOT change during the session, and SHOULD NOT change between sessions. Any change of unique identifiers between sessions MUST be detectable using the UIDVALIDITY mechanism discussed below. Persistent unique identifiers are required for a client to resynchronize its state from a previous session with the server (e.g., disconnected or offline access clients); this is discussed further in [IMAP-DISC]. Has anyone else experienced this problem? Is there a known solution? I've been logging what I've found so far at http://bugzilla.mozilla.org/show_bug.cgi?id=209561 -- Matt Funky like your grandpa's drawers -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20040912/c9139d0d/attachment-0001.bin>
Timo Sirainen
2004-Sep-13 13:25 UTC
[Dovecot] duplicate message headers in Thunderbird with dovecot server
On 13.9.2004, at 01:31, Matt McClure wrote:> There is really only one copy of the message in the mbox file on the > server. However, its UID changes repeatedly during the session, and > Mozilla gets confused. From looking at Thunderbird's log of the IMAP > conversation, it seems the message sequence number does not change, and > I'm guessing that other clients handle the situation better because of > this.Probably some parsing bug then which makes it regenerate the UID constantly.> Has anyone else experienced this problem? Is there a known solution?1.0-test releases with rewritten mbox code :) -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040913/03883d1a/attachment-0001.bin>