I'm fairly sure I know the answer to this, but I'd like to pass it by the list
for confirmation (or else to be told the proper answer).
Are there any restrictions on the out-of-band untagged responses that
can be sent in response to an EXPUNGE command? To explain what I
mean, imagine this scenario:
* Two clients are connected to the same mailbox
* Client one deletes a message (y)
* Client two deletes a different message (x)
* Client one issues an EXPUNGE command
Is it reasonable for client 1 to receive this response (assuming that the
sequence numbers are correctly adjusted as required):
AAA EXPUNGE
* x FETCH (FLAGS (\DELETED))
* x EXPUNGE
* y EXPUNGE
AAA OK Expunge Completed
My reading of RFC3501 leads me to believe that this sequence is not
only reasonable, but essential in order to keep proper synchronization,
but the EXPUNGE command is a tricky little blighter, so I thought I'd
pass it by minds more experienced than mine for confirmation.
Please note that I'm not asking about the dynamics of various ways of
handling EXPUNGE in multi-access environments (a la RFC2180) -
merely whether this response sequence is legal and reasonable.
Cheers!
-- David --
------------------ David Harris -+- Pegasus Mail ----------------------
Box 5451, Dunedin, New Zealand | e-mail: [EMAIL PROTECTED]
Phone: +64 3 453-6880 | Fax: +64 3 453-6612
>From a British VAT informational bulletin:
"Item 1 of the items overriding the exceptions relates to Item
1 of the excepted items; items 2 and 3 of the items overriding
the exceptions relate to Item 2 of the excepted items and Items
4 to 6 of the items overriding the exceptions relate to Item 4
of the excepted items."
--
-----------------------------------------------------------------
For information about this mailing list, and its archives, see:
http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------