Hi,
 
I have some confusion regarding EXPUNGE command. The RFC 2060 states
"The message sequence number for each successive message in the mailbox is
      immediately decremented by 1, and this decrement is reflected in
      message sequence numbers in subsequent responses (including other
      untagged EXPUNGE responses)."
So how should the sequence number be? Should it be the same value for a series of EXPUNGEs or should it be different sequence numbers.
 
I tried using the UW server, but it gave me the following response.
 
5 store 4:6 flags \deleted
* 4 FETCH (FLAGS (\Deleted))
* 5 FETCH (FLAGS (\Deleted))
* 6 FETCH (FLAGS (\Deleted))
5 OK STORE completed
6 expunge
* 1 EXPUNGE
* 3 EXPUNGE
* 3 EXPUNGE
* 3 EXPUNGE
* 3 EXISTS
* 0 RECENT
6 OK Expunged 4 messages
 
Now does this mean that the sequence number being displayed is left to implementation, or is it a standard?
 
~Dilip Menon

Reply via email to