[Dovecot] Date problem after import

Timo Sirainen tss at iki.fi
Tue Aug 3 18:54:32 EEST 2010


On Tue, 2010-08-03 at 17:41 +0200, Andreas Schenk wrote:

> My plan to fix it is to write a script to traverse the mailbox
> hierarchy, delete the index files and have all email files with a
> modification date in 2020 be set to a modification date that is
> extracted from its contents "Date:" header.
> 
> Now my question is, if you think this way is good, feasible or if
> another solution springs to the mind of those more adept with dovecot.

Better than Date: header would be to extract it from the first Received:
header if one exists. After you've changed the mtimes, delete all
dovecot.index.cache files.




More information about the dovecot mailing list