cyrus 2.3.8, internal dates not stored in message file time ?

Nicolas KOWALSKI nicolas.kowalski at gmail.com
Fri Jun 22 11:04:54 EDT 2007


Bron Gondwana <brong at fastmail.fm> writes:

> On Thu, Jun 21, 2007 at 09:07:07PM +0200, Nicolas KOWALSKI wrote:
>> Hello,
>> 
>> I am testing a new cyrus 2.3.8 installation.
>> 
>> I have noticed that copying messages from one folder to another one
>> does keep messages internal dates but does not set message files write
>> time in the destination folder, as 2.2.12 does.
>> 
>> A quick grep in the sources reveals:
>> 
>> reconstruct.c:      /* Message file write time is good estimate of internaldate */
>> 
>> So, as I understand it, when reconstructing mailboxes, internal dates
>> will be lost. It this intentional, or did I miss something in the
>> docs/manual ?
>
> http://cyrus.brong.fastmail.fm/ 
>
> - in particular cyrus-receivedtime-2.3.8.diff
> - and cyrus-syncmtime-2.3.8.diff
>
> Will do a lot of what you're interested in here.  The receivedtime diff
> actually does quite a lot more, including parsing the 'Received' headers
> from the message and using them to set the internaldate.  Much tricky.

I applied the cyrus-receivedtime patch, but this does not change the
message file time problem. I did not apply cyrus-syncmtime, as I am
not using replication.

-- 
Nicolas


More information about the Info-cyrus mailing list