Ga�l Roualland wrote:

> Alexey Melnikov a �crit :
> >
> > Paul Smith wrote:
> >
> > > At 13:41 31/05/2002 +0200, Andreas Aardal Hanssen wrote:
> > > >Say a mailbox has 1000 messages in it, and the highest UID is 1600. Which
> > > >is the correct response?
> > > >
> > > >1 UID FETCH 1601:* FLAGS
> > > >1 OK FETCH completed.
> > > >
> > > >or
> > > >
> > > >1 UID FETCH 1601:* FLAGS
> > > >* 1000 FETCH (UID 1600 FLAGS (\Seen))
> > > >1 OK FETCH completed.
> > >
> > > The first one.
> >
> > No, the second one, because * is translated to 1600 for UIDs.
>
> Yes, "*" is translated for 1600, so that gives the range 1601:1600.
> But does that have sense ?

Yes (below).

> (general understanding is probably that the
> second sequence number must be larger or equal to the first one,

This was discussed several times before and the agreement was that "m:n" when m >
n
is the same as "n:m". This is true for both message numbers and UIDs.

> but I can't find it in the RFC).

I don't remember seeing this in the document, but I might be wrong.
Mark should comment on this.

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide/MessagingDirect
Richmond, Surrey, UK
Phone: +44 20 8332 4508
Home Page: http://orthanc.ab.ca/mel

I speak for myself only, not for my employer.
__________________________________________


Reply via email to