Small problem with UID command on IMAP server
"Ivan" <[email protected]> Wed, 17 Dec 2003 21:49:38 +0000
| Newsgroups | gmane.network.hamster |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I hope I'm posting to the right place, please correct me if I'm wrong...
I'm using Hamster as a local IMAP server and have noticed a small
incompatibility with RFC 3501 on a feature used by some IMAP clients. In
section 6.4.8 on page 60 it states:
"Also note that a UID range of 559:* always includes the
UID of the last message in the mailbox, even if 559 is
higher than any assigned UID value. This is because the
contents of a range are independent of the order of the
range endpoints. Thus, any UID range with * as one of
the endpoints indicates at least one message (the
message with the highest numbered UID), unless the
mailbox is empty."
However, when such a UID FETCH is issued to Hamsters IMAP server it
doesn't return anything. Here is an example on a mailbox whose highest
UID is 7:
2003/12/17 21:03:05 D {fbef7af5} > s7 uid fetch 7:* (RFC822.SIZE)
2003/12/17 21:03:05 D {fbef7af5} IMAP: UID-FETCH
2003/12/17 21:03:05 d {fbef7af5} < * 5 FETCH (RFC822.SIZE 1976 UID 7)
2003/12/17 21:03:05 I {fbef7af5} < s7 OK UID FETCH is now completed
2003/12/17 21:03:57 D {fbef7af5} > s8 uid fetch 8:* (rfc822.size)
2003/12/17 21:03:57 D {fbef7af5} IMAP: UID-FETCH
2003/12/17 21:03:57 I {fbef7af5} < s8 OK UID FETCH is now completed
As you can see, uid fetch 8:* doesn't return anything although according
to the rfc it should return at least one result.
This is very usefull for determining the highest uid in a mailbox and as
such is used by some IMAP clients. Would it be possible to fix this?
Thanks,
Ivan
--
To post a message: [email protected]
To unsubscribe: [email protected]
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/ehamster/
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/