Not necessarily. But if they do, the correct response would be:Assuming a mailbox having at least 2 messages, and two IMAP clients selecting it, is the following client(s)/server interaction correct or not? Can someone point the errors?
c1: a store 1 +flags (\Deleted) s : * 1 FETCH (FLAGS (\Deleted) UID 3) s : a OK store
c2: aa store 2 +flags.silent (\Deleted) s : * 1 FETCH (FLAGS (\Deleted) UID 3) s : aa OK store
c1: b expunge s : * 2 FETCH (FLAGS (\Deleted) UID 4) s : * 2 EXPUNGE s : * 1 EXPUNGE s : b OK expunge
c2: bb expunge
s : * 2 EXPUNGE
s : * 1 EXPUNGE
s : bb OK expunge
For starters, I think that the responses need to be reordered: s : * 1 EXPUNGE s : * 2 EXPUNGE
s : * 1 EXPUNGE s : * 1 EXPUNGE
(the first expunge decreases subsequent message numbers).
Alexey
