[Dovecot] Fixing Timestamps

LuKreme kremels at kreme.com
Wed Oct 2 21:43:59 EEST 2013


On 02 Oct 2013, at 11:51 , Charles Marcus <CMarcus at Media-Brokers.com> wrote:

> On 2013-10-01 7:42 PM, LuKreme <kremels at kreme.com> wrote:
>> I have a user with a lot of email (A LOT of email, probably over 500,000 emails). Recently, several thousand messages of his were lost, and I pulled them out of the backup archives (zip files containing each days emails in an mbox) that are created on his account and fed them into his procmail scripts and they were all processed just fine and ended up in the right directories.
>> 
>> 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?
> 
> Fix your restore script/methodology, then restore them again…

That would just move the grep/convert/rename into the restore process.

Maildir saves the file with the epoch timestamp of the time the file is saved.

-- 
The cat turned and tried to find a place of safety in the suit's
breastplate. He was beginning to doubt he'd make it through the knight.



More information about the dovecot mailing list