Am 18.12.2011 11:48, schrieb A.L.E.C:
On 12/18/2011 06:06 AM, Roland Liebl wrote:
61 FETCH (UID 30234 RFC822.SIZE 62927 FLAGS (\Seen) INTERNALDATE "16-Dec-2011 13:45:26 +0100" ...
So, the INTERNALDATE is returned to Roundcube.
We're using SORT not FETCH for sorting.
Are you sure? Below a log generated by IMAP-Access of Roundcube.
The very first Request is SORT and then you FETCH the messages according to the order of the returned UIDs. The Order is wrong. The message with the missing date header is UID 26. It is the youngest message in this Mailbox and should be the very last in the row. Nethertheless hMailserver returns the correct Internaldate, so correct sorting should be possible.
Any other thoughts? FYI, Thunderbird sorting is ok.
Maybe Thunderbird doesn't use SORT command.
"IMAPD" 1535560 11860 "2011-12-19 06:18:30.584" "127.0.0.1" "SENT: * SORT 26 13 12 11 10 9 8 7 6 5 4 3 2 1 14 15 16 17 18 24 19 20 21 22 23 25[nl]A0007 OK Search completed" "IMAPD" 1535560 11860 "2011-12-19 06:18:30.600" "127.0.0.1" "RECEIVED: A0008 FETCH 26,13,12,11,10,9,8,7,6,5,4,3,2,1,14,15,16,17,18,24,19,20,21,22,23,25 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO CC USER-AGENT X-RC-ATTACHMENTCC X-RC-ATTACHMENT LIST-HELP LIST-SUBSCRIBE LIST-UNSUBSCRIBE LIST-POST LIST-OWNER LIST-ARCHIVE)])" "IMAPD" 1535560 11860 "2011-12-19 06:18:30.600" "127.0.0.1" "SENT: * 26 FETCH (UID 30295 RFC822.SIZE 62927 FLAGS (\Seen) INTERNALDATE "16-Dec-2011 13:45:26 +0100" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO CC USER-AGENT X-RC-ATTACHMENTCC X-RC-ATTACHMENT LIST-HELP LIST-SUBSCRIBE LIST-UNSUBSCRIBE LIST-POST LIST-OWNER LIST-ARCHIVE)] {212}" "IMAPD" 1535560 11860 "2011-12-19 06:18:30.600" "127.0.0.1" "SENT: )" "IMAPD" 1535560 11860 "2011-12-19 06:18:30.600" "127.0.0.1" "SENT: * 13 FETCH (UID 24689 RFC822.SIZE 3560 FLAGS (\Seen) INTERNALDATE " 6-Feb-2009 15:14:55 +0100" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO CC USER-AGENT X-RC-ATTACHMENTCC X-RC-ATTACHMENT LIST-HELP LIST-SUBSCRIBE LIST-UNSUBSCRIBE LIST-POST LIST-OWNER LIST-ARCHIVE)] {218}" "IMAPD" 1535560 11860 "2011-12-19 06:18:30.600" "127.0.0.1" "SENT: )"
List info: http://lists.roundcube.net/dev/ BT/aba52c80