[Dovecot] Sorting messages by date

Stephen Allen dovecot at rowyerboat.com
Sat Nov 19 04:37:38 EET 2005


On Friday, November 18, 2005 2:51 AM
<cmaloney at cardgate.net> wrote:

>> Can I fake Dovecot into thinking the messages arrived on a different
>> date by including something in the message headers, or changing the
>> date/time stamp of each file (but I don't know how to do this)?
>
> 'touch'... I'm sure a few minutes effort could produce a script to
> read the date from each message file, and 'touch' it.

I did a little script, but I had to rely on the topmost "Received:" header, 
as there are many plonkers out there who have their computer clocks set back 
before I was born... so the actual "Date:" header is unreliable.  It works 
great, and all files seem to get the correct date.

>> Pine correctly picks out a date from the message (although it doesn't
>> sort by this order), and Outlook Express just displays everything as
>> the date which it (or Dovecot) first saw the message.  Does Outlook
>> rely on Dovecot's sorting/date information or does it do it's own?

This now may be a question for the Pine mailing list, but for some reason 
Pine is not displaying the messages in date order, or it *thinks* it is, but 
what is displayed is not in order.

Many thanks,
Steve :) 



More information about the dovecot mailing list