[Dovecot] Fixing Timestamps

LuKreme kremels at kreme.com
Wed Oct 2 18:01:43 EEST 2013


> On Oct 2, 2013, at 1:28, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>> On Tue, 1 Oct 2013, LuKreme wrote:
>> 
>> Except.
>> 
>> The messages were from 6 months back, and the messages now show up in his mail client with the time stamp of the date they were restored, and not the date that shows up in the headers of the message.
>> 
>> Anything I can do?
> 
> You have to change the internal date. What storage do you use?

Maildir.

> With maildir: change the mtime of the message file to the desired date. 

Right, is there a simple way to do that? I hate to have to grep every message for a date and then convert it to epoch and rename the file, but it sounds like that's what's needed?




More information about the dovecot mailing list