[Dovecot] Fixing Timestamps

LuKreme kremels at kreme.com
Sat Oct 5 02:06:19 EEST 2013


On 04 Oct 2013, at 15:33 , Steffen <skdovecot at smail.inf.fh-brs.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> LuKreme wrote:
>> 
>> 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.
> 
> you re-submit the message into the message transfer process, hence the
> message is new and not the original "backup"ed message. If you would
> backup and restore the file from/to the Maildir without procmail
> a.s.o. you would have the original message.

The backup messages are not in a maildir, they are stored in daily gzip files.

-- 
I SAW NOTHING UNUSUAL IN THE TEACHER'S LOUNGE Bart chalkboard Ep. 8F17



More information about the dovecot mailing list