Re: Wrong sort by from

"Gabriele Bulfon via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <33381852.1589.1682580944796@www>
Hi, I have a real example with few real mails, I imported them in different new folders on different cyrus installations, receiving always the same result.
Obviously I cannot attach theme here.
If you can give me a way to send them to you privately, this may help.
 
Thanks,
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 

 


Da: Ken Murchison <[email protected]>
A: [email protected]
Data: 26 aprile 2023 14.02.56 CEST
Oggetto: Re: Wrong sort by from



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][email protected][email protected][email protected][email protected][email protected][email protected][email protected][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
 

-- Kenneth MurchisonSenior Software DeveloperFastmail US LLCCyrus / Info / see discussions + participants + delivery options Permalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T8dcf6bfa96500472-M676d2c2e27efa21ec59d0dbd
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.