[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imap
Subject:    Re: Any restrictions on out-of-band untagged responses to EXPUNGE?
From:       Arnt Gulbrandsen <arnt () gulbrandsen ! priv ! no>
Date:       2003-10-02 8:12:27
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic