Hello,

If FETCH 2:2 is legal for a mailbox that contains one message, I do not 
understand why Fetch 1:1 is illegal in an empty mailbox, or why FETCH 1:* is 
illegal in an empty mailbox. Since the 17th century the number zero is 
considered to be a regular plain number, LEGAL, not much different from 
numbers 1 and 2 - at least, in Europe.

So zzz FETCH 1:1 and FETCH 1:* in any empty mailbox should just return zzz 
OK.

Now, there is a scenario that is comletely legal from the current IMAP 
standard point of view, and still it empties the mailbox when the client has 
no way to change its mind, and it has ALREADY started the FETCH command:

C: .....
S: 1 EXISTS
S: aaaa OK
C: bbbb FETCH * (FLAGS BODY[HEADER.FIELDS ({4}+
* 1 EXPUNGE
+ proceed
DATE
FROM)])

As it can be seen in this sample and a similar sample for the SEARCH (though 
not for STORE command), the client has started to send a legal FETCH command 
that became "illegal" (this is the meaning of the "BAD" response) while it 
was being sent.

I seriously doubt that many clients do process untagged responses that are 
send together with continuation requests. Because of the troubles this 
"feature" provides, I'd suggest its removal from the IMAP standard (i.e. no 
untagged responses can be sent with continuation requests).

Sincerely,
Vladimir
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to