Moving mail into IMAP server and the Received date

Bron Gondwana brong at fastmail.fm
Mon Feb 19 15:58:33 EST 2007


On Mon, Feb 19, 2007 at 08:51:10AM -0500, Joseph Brennan wrote:
> Ideally you might be able to find a client that sends internaldate
> when it moves mail from local to server.  The catch is that since so
> many clients, like Thunderbird, do not use internaldate to sort, they
> probably don't preserve it in local folders, and they probably don't
> try to reconstruct what it was from Received or Date headers when they
> append to a folder on server.
> 
> It's not really a Cyrus or Outlook bug.

Rob has been working on a patch for Cyrus that allows it to use the
Received headers or date of the file on disk to build the internaldate
property in case of a reconstruct.  This has particularly been an issue
when replication has fallen behind or we've lost a replica and had to
rebuild it.  We already have applied a patch which uses the internaldate
property to "touch" the file when it gets replicated, which helps make
reconstruct safer.

But yeah, trusting the 'Date' header of the sender is fraught with
stupidates[tm].  January 1970 indeed, or 2020 for that matter.  You
get some funky values!

Bron.


More information about the Info-cyrus mailing list