On Wed, 21 Aug 2002, Dilip Menon wrote: > 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.
The sequence number is the number that is expunged. Note that the effect of the expunge is immediate, and all subsequent EXPUNGE (and EXISTS...) responses are effected. > 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 This flags \Deleted on messages 4, 5, 6. > 6 expunge > * 1 EXPUNGE Message 1 must have been flagged \Deleted by something other than your STORE command. It has been expunged. The old message 2 is now message 1. The old message 3 is now message 2. The old message 4 is now message 3. The old message 5 is now message 4. The old message 6 is now message 5. The old message 7 is now message 6. > * 3 EXPUNGE Message 3 (originally message 4) has been expunged. The old message 4 (original message 5) is now message 3. The old message 5 (original message 6) is now message 4. The old message 6 (original message 7) is now message 5. > * 3 EXPUNGE Message 3 (originally message 5) has been expunged. The old message 4 (original message 6) is now message 3. The old message 5 (original message 7) is now message 4. > * 3 EXPUNGE Message 3 (originally message 6) has been expunged. The old message 4 (original message 7) is now message 3. > * 3 EXISTS > * 0 RECENT > 6 OK Expunged 4 messages There are 3 messages, none of which are recent. These messages are the original messages 2, 3, and 7. > Now does this mean that the sequence number being displayed is left to > implementation, or is it a standard? It is absolutely a standard, which must not be violated. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. "A single glass of champagne imparts a feeling of exhiliaration. The nerves are braced; the imagination is agreeably strirred; the wits become more nimble. A bottle produces a contrary effect. Excess causes a comatose insensibility. So it is with war; and the quality of both is best discovered by sipping." -- Winston Churchill
