On Wed, 14 Nov 2001, Scot W. Hetzel wrote:

> > Weird... I used cyrdeliver to migrate my maildirs to cyrus and all dates
> > looked OK. Hmm. Maybe the mailclient I use does the sorting here, making
> > my mailboxes look OK after the migration.
> >
> That's possible that your mailclient uses a different way of obtaining the
> received date.  If you try OE, it will show the received date on the message
> you migrated as the date the message was placed in the folder.

I ran into this too.. Outlook 2000 (not OE) uses the INTERNALDATE field
for displaying the date, instead of parsing the From line. Here's a
quick patch to reconstruct that will work around this partially.
(note: patch is against 2.0.6, might not work on more recent versions)

445c445,448
<           message_index.internaldate = sbuf.st_mtime;
---
>           /* changed this to deal with outlook braindamage - it uses
>              INTERNALDATE as its "Received" date in display.. */
>
>           message_index.internaldate = -1;
456a460,463
>
>       if (message_index.internaldate == -1) {
>               message_index.internaldate = message_index.sentdate;
>       }


-- 
  Eric Sorenson - Systems / Network Administrator - Transmeta Corporation

Reply via email to