I don't see how this can happen. Append locks the status file for exclusive access write in mix, and changing any flags requires opening and share-locking the file for read.

Can you reproduce this at will? Does it always happen? What OS? Does this happen with other clients?

On Mon, 6 Nov 2006, Michael Schaap wrote:

Hi,

I use procmail to filter my incoming as well as outgoing mail, and use
"dmail -s" to store outgoing messages as "seen".  (IIRC, I actually
submitted the patch for that, years ago.)
However, since I've switched to the 2006 series of imapd, and the mix
format, I've noticed that these filtered outgoing messages aren't always
properly stored as "seen", and show as unread in Thunderbird.

I think I've narrowed it down to the following situation:
* Reply to a message in mailbox X.
* This BCCs my outbox address, and the message is filtered
  through procmail.
* Procmail filters the message into the same mailbox, using:
  "| dmail -s +X"
* The message is filed in the mailbox as "unseen".

Note that it only goes wrong when replying to a message in the same mailbox, it is not enough to have it simply open (selected). So, it appears to be a concurrency issue: the original message is marked as "replied" at the same time that the new message is added.

The problem still does not occur on mbx mailboxes.

I've tried the latest snapshot, imap-2006d.DEV.SNAP-0611052119.tar.Z, and this isn't fixed yet.

Best regards,

- Michael

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw


-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to