The following bug has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000166 ====================================================================== Reported By: aaron Assigned To: ====================================================================== Project: DBMail Bug ID: 166 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 24-Jan-05 09:42 CET Last Modified: 24-Jan-05 09:42 CET ====================================================================== Summary: IMAP sort breakage in 2.0.3 Description: Upgrading to DBMail 2.0.3 broke my IMAP client, TWIG. I typically use reverse arrival date sorting (newest first). The sympton is that absolutely nothing appears in the email list, nor is there a count of messages.
Non-reversed arrival date sort works alright, although the change below subtlely alters the order of emails in non-reversed. Commenting out these lines fixes it. // } else if(sorted && (strcasecmp(search_keys[*idx], "us-ascii") == 0)) { // /* TODO */ // (*idx)++; This appears to have been added by Paul between 2.0.2 and 2.0.3. I'll dig up some logs if you'd like! ====================================================================== Bug History Date Modified Username Field Change ====================================================================== 24-Jan-05 09:42aaron New Bug ======================================================================