wrong date of emails - how to change?

Wesley Craig wes at umich.edu
Thu Oct 23 11:51:26 EDT 2008


INTERNALDATE is stored in the cyrus meta files.  So if you were to  
delete the meta files and reconstruct, INTERNALDATE is set to the  
mtime of the message file.

Your assertion that copy updates INTERNALDATE doesn't sound right to  
me.  What version of cyrus are you talking about?

:wes

On 23 Oct 2008, at 07:11, peter pilsl wrote:
> Is there a imap-command that allows to change the value of  
> internaldate
> or do I need to implement a series of FETCH,DELETE,APPEND-commands to
> change the date? So far the APPEND-command is the only way I've  
> found to
> set the value of INTERNALDATE, but APPEND only is for new messages.
>
> I can imagine doing some imapsync and applying the "correct" date. (I
> can extract a proper date from the mailheaders), but as this is a
> problem that appears now and then on one of my servers and is asked  
> now
> and then on the internet, I would like to create a solid solution  
> for this.
>
> peter pilsl wrote:
>> When I copy old emails from one folder to another then the date of  
>> this
>> emails as shown by several clients (OutlookExpress, Thunderbird)  
>> is not
>> the original date but the date when I copied these emails.
>>
>> First I thought I can change this date by changing the date of the
>> actual file that contains a certain email, but this did not work.
>>
>> So how can I change the date of a email on a cyrus-imap-server?
>>
>> Do I need to delete certain cache-files and reconstruct all  
>> mailboxes or
>> is there a secret (at least to me) command or ...?


More information about the Info-cyrus mailing list