On Wed, 2003-03-05 at 11:57, Mark Crispin wrote: > If two sessions have SELECT the same folder and a new message arrives, only > the first to report the new message(s) with EXISTS and RECENT will see them as > recent. The other will get a non-zero EXISTS, but a RECENT count of 0 (with > *any* IMAP command).
Hmm. Is that required? I just realized that I set \Recent flag for all messages that have arrived since SELECT. RFC seems to accept it: If multiple connections have the same mailbox selected simultaneously, it is undefined which of these connections will see newly-arrives messages with \Recent set and which will see it without \Recent set.