Date: Mon, 25 Feb 2002 00:36:17 +0900
   From: Hajimu UMEMOTO <[EMAIL PROTECTED]>
   Cc: Lawrence Greenfield <[EMAIL PROTECTED]>
   Hi,

   Recently, Mew (http://www.mew.org/) is going to support IMAP4.  They
   troubled with the behavior of Cyrus IMAPd.
   When the last UID is N and a client issues `uid fetch <N+1>:*', N is
   returned.  I tested it with 2.0.16 and 2.1.2.  Is it expected
   behavior?

"*" is interpreted as the highest UID number:

   sequence-num    = nz-number / "*"
                       ; * is the largest number in use.  For message
                       ; sequence numbers, it is the number of messages
                       ; in the mailbox.  For unique identifiers, it is
                       ; the unique identifier of the last message in
                       ; the mailbox.

so the question is what should Cyrus do with:

   . uid fetch 63956:* flags
   * 1286 FETCH (FLAGS (\Recent) UID 63955)

well, it interprets it as:

   . uid fetch 63956:63955 flags
   * 1286 FETCH (FLAGS (\Recent) UID 63955)

which makes sense.

Larry

Reply via email to