On June 15, 1998 at 03:51, S P Arif Sahari Wibowo wrote:
On Mon, 15 Jun 1998, Vincent wrote:
I have a mailing list which automatically puts the name of the list at the
beginning of each message subject. I would like to have mhonarc remove this
automatically when creating the archives.
I don't think MHonArc can do that.
You will have to create a filter
program (with sed or perl) that do this stripping on the message before
the message get into mhonarc.
Or, if you know a little Perl, you can modify the code to do
what you want. The place to do it is in mhamain.pl and in the
routine read_mail_header(). Just add your code after the part
where the subject is extracted; there are comments in the routine,
so it should be easy to spot.
Note, having the ability to massage subjects is a useful function.
I hope to add it for the next release. One will have to know
a little about Perl regexes inorder to use it.
Earl Hood | University of California: Irvine
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu | Electronic
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME