Hi Gabriele,
I can't tell you yet about the UID command, but you can use the
sbin/mbexamine
command to inspect a mailbox index. Me or a colleague will get back to you about the UID command.Regards,
Robert
On Thu, Apr 20, 2023, at 5:04 PM, 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@xxxx2- ale@xxxxx3- enr@xxxx4- pos@xxxxThe sort instead returns the UIDS in this order:1- alb@xxxx2- pos@xxxx3- enr@xxxx4- ale@xxxxxSame 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?GabrieleSonicle S.r.l. : http://www.sonicle.comeXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets