| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi folks, seems that our company IMAP server all of a sudden returns unsorted UIDs on a UID SEARCH query: 3 UID SEARCH FLAGGED * SEARCH 823 494 6 4 3 OK UID SEARCH completed (In this example the UIDs are, by chance, ordered descending. Other results were completely out of order. And I am quite sure that last Friday the results were always ordered ascending.) That made my IMAP client (Gnus v5.10.7) hick up. I have not found anything in the IMAP RFC that requested UIDs returned from an UID SEARCH to be in order. Who is the bad guy here? The IMAP server or the client? Jens |
|
#2
| |||
| |||
| Although this is certainly strange for a server to do, it is nonetheless compliant. There are no order guarantees on returned value from an IMAP server; the only guarantee is that when you get the tagged OK that you have all the requested data. On Tue, 13 May 2008, jens.schmidt35@arcor.de posted: > seems that our company IMAP server all of a sudden returns unsorted > UIDs on a UID SEARCH query: > > 3 UID SEARCH FLAGGED > * SEARCH 823 494 6 4 > 3 OK UID SEARCH completed > > (In this example the UIDs are, by chance, ordered descending. Other > results were completely out of order. And I am quite sure that last > Friday the results were always ordered ascending.) > > That made my IMAP client (Gnus v5.10.7) hick up. I have not found > anything in the IMAP RFC that requested UIDs returned from an UID > SEARCH to be in order. > > Who is the bad guy here? The IMAP server or the client? -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.