Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ANN: mailbox_date_trimmer 1.0.1 -- Correct emails' date headers in a mailbox archive.

Thread Tools

ANN: mailbox_date_trimmer 1.0.1 -- Correct emails' date headers in a mailbox archive.

Grzegorz Adam Hankiewicz
Posts: n/a

Improved documentation. Removed stdin pipe detection hack. Many
small date parsing errors found and fixed after running the
program over 500 MB of mailing list archives.

Scenario description

You are a mailing list administrator, or you are somebody who
keeps mailing list archives for a user group, or you just have
a fetish for email archives. Now, don't you always wonder why
after running Hypermail or MHonArc on your archives you always
have some emails which date back to 1980 or far away in the
future like 2011, even though you started collecting emails in
the year 2000 and it's still this very same year? While there
are many answers to this question, there is a very easy way to
fix many, if not all, of these messages, which results in a much
more consistent email archive without broken discussion threads.

Software requisites

This software requires Python ( It is
known to work with versions 1.5.2 or 2.2.3. You also need my
mailbox_reader module, which you should be able to get from:




Please don't send me private copies of your public answers. Thanks.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with wsgiref.headers.Headers Phil Python 4 01-17-2010 04:47 PM
Server cannot clear headers after HTTP headers have been sent Ian ASP .Net Security 2 03-20-2007 09:00 AM
Which should be the correct date format for Date.parse ? Matteo Javascript 4 06-15-2004 09:15 PM
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM
Reading 'received' headers: Email Headers Parsing dont bother Python 0 03-03-2004 08:18 PM