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 hubrown@xxxxxxxxxxx
2 ejj@xxxxxxxxx
3 Madison.Smith@xxxxxxxxx
4 Ava.Jones@xxxxxxxxx
5 Emma.Wilson@xxxxxxxxx
6 aqmartin@xxxxxxxxxxx
7 srt@xxxxxxxxx
8 sujohnson@xxxxxxxxx
9 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)
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@xxxxFor 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?GabrieleSonicle S.r.l. : http://www.sonicle.comeXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
-- Kenneth Murchison Senior Software Developer Fastmail US LLC