[Imap-protocol] SEARCH messagesets

Mark Crispin mrc at CAC.Washington.EDU
Fri Jul 1 16:25:58 PDT 2005

On Sat, 2 Jul 2005, Timo Sirainen wrote:

> If mailbox has 10 messages and client does SEARCH 1:11, is it valid to

> give a BAD reply as most servers do if the same is done with FETCH, or

> should it just be treated as 1:10? Thoughts?

In my opinion, either is valid.

It is an error to reference a non-existent sequence number, but SEARCH
criteria are arguably not referencing the sequence number but merely

-- Mark --

Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

More information about the Imap-protocol mailing list