Re: Wrong sort by from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <murch@xxxxxxxxxxxx>
A: info@xxxxxxxxxxxxxxxxxx
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.

hubrown@xxxxxxxxxxx
ejj@xxxxxxxxx
Madison.Smith@xxxxxxxxx
Ava.Jones@xxxxxxxxx
Emma.Wilson@xxxxxxxxx
aqmartin@xxxxxxxxxxx
srt@xxxxxxxxx
sujohnson@xxxxxxxxx
auj@xxxxxxxxx
10  ahw@xxxxxxxxx
11  Hannah.Smith@xxxxxxxxx
12  enj@xxxxxxxxx
13  Olivia.Taylor@xxxxxxxxxxx
14  Samantha.Jones@xxxxxxxxx
15  iqj@xxxxxxxxxxx
16  ahw@xxxxxxxxx
17  hzjohnson@xxxxxxxxx
18  mub@xxxxxxxxx
19  erwilliams@xxxxxxxxx
20  itwhite@xxxxxxxxxxx

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- alb@xxxx
2- ale@xxxxx
3- enr@xxxx
4- pos@xxxx

The sort instead returns the UIDS in this order:
1- alb@xxxx
2- pos@xxxx
3- enr@xxxx
4- ale@xxxxx

Same also wiithout UID.
For the second (pos) which should be last, I found the it contains a replyto com@xxxx, 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
 
-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux