The following bug has been CLOSED
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000166
======================================================================
Reported By:                aaron
Assigned To:                aaron
======================================================================
Project:                    DBMail
Bug ID:                     166
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
======================================================================
Date Submitted:             24-Jan-05 09:42 CET
Last Modified:              19-May-05 14:22 CEST
======================================================================
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 the following lines from imaputil.c, in build_imap_search,
lines 2225-2227, 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!
======================================================================

----------------------------------------------------------------------
 aaron - 18-Mar-05 17:26 CET 
----------------------------------------------------------------------
Resolved in 2.0.4. There's a long discussion on the mailing list about
c-client's ability to work around broken servers. Basically we outsmarted
it just enough that it thought we were working when we really weren't.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
24-Jan-05 09:42aaron          New Bug                                      
24-Jan-05 09:43aaron          Description Updated                          
18-Mar-05 17:26aaron          Bugnote Added: 0000616                       
18-Mar-05 17:26aaron          Assigned To               => aaron           
18-Mar-05 17:26aaron          Resolution               open => fixed       
18-Mar-05 17:26aaron          Status                   new => resolved     
19-May-05 14:22paul           Status                   resolved => closed  
======================================================================

Reply via email to