![]()
From: John Finlay (finlay@moeraki.com)
Date: Thu Apr 22 1999 - 13:49:20 CDT
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.
Thanks
John
![]()