Resetting timestamps on mailfolders

Anthony Chavez acc at anthonychavez.org
Wed Jun 23 11:56:50 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just thought I'd follow-up with my latest findings.

After doing a bit of searching, I've  come across the Mail::Header and
Mail::Field::Received Perl modules, which I'm considering using.  I'm
curious to know if the latest Received: header might be the one to
use.  It seems quite sound to me, but I'd like a confirmation if I can
get it. ;-)

On Tue, 22 Jun 2004 09:55:25 -0600 Anthony Chavez <acc at anthonychavez.org> wrote:
> Dear fellow Cyrus-IMAP users:
>
> During a recent server upgrade, cp was used without the -p flag to
> relocate my users' mailboxes.  As such, all of the new files were
> created with a filesystem timestamp reflecting the time of backup.
>
> I am considering writing a script that will look for the Date: header
> inside each e-mail and set the timestamp of the file according to its
> value.  Is this the right approach or is there a more appropriate header
> that I should be looking at, or would I be advised not to risk this at
> all?
>
> Finally, I would appreciate any feedback on what Perl (or other
> language) modules could be useful in this endeavor.
>
> Thanks!

- -- 
Anthony Chavez                             http://www.anthonychavez.org/
mailto:acc at anthonychavez.org                jabber:acc at anthonychavez.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA2ahFbZTbIaRBRXERAsrpAJ4hnzEnCWGp9Ay1lA50kJhQBJ9ChQCfZkRv
j+iRrxWHF88E9pBU19FnBYA=
=CK4z
-----END PGP SIGNATURE-----

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list