MIME disposition

From: John Finlay <finlay_at_moeraki.com_at_hypermail-project.org>
Date: Thu, 22 Apr 1999 11:49:20 -0700
Message-ID: <371F6F2F.1DE6E6E3_at_moeraki.com>

It's been my experience during some limited testing that the current hypermail 2a18 doesn't correctly parse mail files that include MIME headers. For example, I used 4 mailfiles each containing 800 to 1000 messages as a test . The results varied widely but I found that the resulting archives contained between 130 and 400 messages. This seems like a rather substantial loss.

Looking at the code it seems that messages without a message id are tossed. Duplicates are also discarded. Other than that I don't see why the other messages have been discarded. Any ideas?

While browsing the code, I noticed that the parsemail function (which appears to be renamed from loadheaders in previous releases) has grown substantially (almost 1000 lines and 10 levels of indentation is some spots) from 1.02 (which is the last release I'm intimately familiar with). I find it almost impossible to understand. Consequently, I plan to rewrite parsemail for correctness and readability and to make future enhancement easier. At the same time I will add in the performance improvements, etc. that I developed for the 1.02 release.

One the items that local users have asked for is a kill capability to allow killing messages from specified senders and to allow killing messages not directly addressed to the receiver. This functionality seems like it probably is available elsewhere. Has someone a pointer to a filter program that can be used before processing by hypermail.


John Received on Thu 22 Apr 1999 08:49:31 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT