Re: Wrong sort by from
Ken Murchison <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Hi Gabriele, I can't reproduce this on Cyrus 3.9 or 3.4.2. Here's my Cassandane test data running against 3.4.2. These messages were added to an empty mailbox, so UID == message number. 1 [email protected] 2 [email protected] 3 [email protected] 4 [email protected] 5 [email protected] 6 [email protected] 7 [email protected] 8 [email protected] 9 [email protected] 10 [email protected] 11 [email protected] 12 [email protected] 13 [email protected] 14 [email protected] 15 [email protected] 16 [email protected] 17 [email protected] 18 [email protected] 19 [email protected] 20 [email protected] And the results: C: 62 SORT (FROM) UTF-8 ALL S: * SORT 10 16 6 9 4 2 5 12 19 11 1 17 15 20 3 18 13 14 7 8 S: 62 OK Completed (20 msgs in 0.001 secs) On 4/20/23 11:04 AM, Gabriele Bulfon wrote: > > Hi, > we found some situations where issuing a "UID SORT (FROM) UTF-8 ALL" > the result is not correct, same result on cyrus 2.x and 3.4.2. > As an example I have 4 emails with From (just one from on each email) > similar to these: > 1- [email protected] > 2- [email protected] > 3- [email protected] > 4- [email protected] > > The sort instead returns the UIDS in this order: > 1- [email protected] > 2- [email protected] > 3- [email protected] > 4- [email protected] > > Same also wiithout UID. > For the second (pos) which should be last, I found the it contains a > replyto [email protected], but I don't think it should be used by sort. > For the fourth (ale) I can't find anything strange in the headers. > Is there any known issue with sort by from? > Also, how can I extract data from the cyrus.index to check what is > contained there? > Gabriele > *Sonicle S.r.l. *: http://www.sonicle.com > *Music: *http://www.gabrielebulfon.com > *eXoplanets : *https://gabrielebulfon.bandcamp.com/album/exoplanets > *Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions > <https://cyrus.topicbox.com/groups/info> + participants > <https://cyrus.topicbox.com/groups/info/members> + delivery options > <https://cyrus.topicbox.com/groups/info/subscription> Permalink > <https://cyrus.topicbox.com/groups/info/T8dcf6bfa96500472-M1c3cb21b9d390f60dffa29a7> > -- Kenneth Murchison Senior Software Developer Fastmail US LLC ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T8dcf6bfa96500472-M242d0b90e8adda6466ef8641 Delivery options: https://cyrus.topicbox.com/groups/info/subscription