Resetting timestamps on mailfolders

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

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> 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                   
mailto:acc at                jabber:acc at
Version: GnuPG v1.2.4 (Darwin)


Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list