MBOX-Line: From mbarker at buni.org  Sat May 26 04:07:53 2007
To: imap-protocol@u.washington.edu
From: Michael Barker <mbarker@buni.org>
Date: Fri Jun  8 12:34:39 2018
Subject: [Imap-protocol] Concurrent Mailbox Changes.
Message-ID: <46581509.7050201@buni.org>

Hi,

I have a question regarding behaviour when multiple clients are 
accessing the same mailbox, especially regarding expunge.  What is the 
appropriate behaviour in the following senario.

C: A001 NOOP
S: * 3 EXISTS
S: * 3 RECENT
S: A001 OK NOOP completed
...Other client expunges message 3...
C: A002 FETCH 1:3 (FLAGS)
S: * 1 FETCH (FLAGS (RECENT))
S: * 2 FETCH (FLAGS (RECENT))
...What happens here?  Do we simply not send information for message 3 
or send a NO response to indicate the message is no longer available?
S: A002 OK FETCH completed

Does the behaviour change if the client sends a wildcard (FETCH 1:* ...) 
instead of an explicit range.

Regards,
Michael Barker.

