David Harris writes:
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

It's correct, but is the flag update necessary? Consider this case (irrelevant responses elided):


C: a select inbox
S: a ok
C: b store 1 +flags.silent (\deleted)
S: b ok
C: c expunge
S: * 1 expunge
S: * 2 expunge
S: c ok

This also sounds correct. But if this example is correct, the client must accept expunges for messages that (as far as it knows) do not have \deleted set, which implies that your flag update is a waste of bandwidth.

Comments?

--Arnt

Reply via email to