[Tickets #8922] Re: Sort messages by arrival date not working correctly

bugs at horde.org bugs at horde.org
Fri Mar 19 16:25:02 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8922
------------------------------------------------------------------------------
  Ticket             | 8922
  Updated By         | Valentin.Vidic at CARNet.hr
  Summary            | Sort messages by arrival date not working correctly
  Queue              | IMP
  Version            | 4.3.6
  Type               | Bug
  State              | Not A Bug
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Valentin.Vidic at CARNet.hr (2010-03-19 12:25) wrote:

But why would users be interested in IMAP servers internal info like  
message sequence number/UID? Looking at the IMAP SORT RFC  
(http://www.faqs.org/rfcs/rfc5256.html) I found the ARRIVAL sort type:

       ARRIVAL
          Internal date and time of the message.  This differs from the
          ON criteria in SEARCH, which uses just the internal date.

And this is exactly what gets called if I disable the IMP _arrival  
cache. So _arrival cache pretends to implement this IMAP search type  
but does something different - sorts on UID instead of IMAP internal  
date. As a result our users see messages that are almost randomly  
sorted. The worst thing is that arrival sort type is the default.






More information about the bugs mailing list