[Dovecot] Fixing Timestamps

Steffen skdovecot at smail.inf.fh-brs.de
Sat Oct 5 00:33:07 EEST 2013


-----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.

- -- 
Steffen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEVAwUBUk80E13r2wJMiz2NAQKEwQf+Lrps5g2y36ONPmkV4A44DdFB/1q5lF8/
tJReF/YfWyqM6SlFW07HsfJet1Sl8eEAd9EMVmjbbMk6kVZsSGBRTAYn03myHZbd
m4dHznmw+X4dhGx5k/NInSlLLBV8RKCjR+SKXnKbHxw7EA1SFNs0r/6U06wR5MwV
20KKSyHpS2s3mNsCQzG0U56AEUj1oIwXJfk6LJBPPMOs1kbGFk7FD21BSrdf3xHc
JZKBbUMZ2N57csa8i88rUSd/wtt5hw9QtDS9H7fyLiqPy3bfz6/MSEJv/vBVw7Gz
PA0oUmOoAMh27IJg1KZNaN0FCyT8K/zafy4B2JZWOHc6f+jQYjmSEQ==
=i8Gp
-----END PGP SIGNATURE-----


More information about the dovecot mailing list