Re: How can we prevent MH from processing multipart mails?

1998-09-22 21:54:58
On September 22, 1998 at 22:13, Hasan Karahasan, DJ2xt wrote:

We are converting our mailing list with Mhonarc. Though we do not want
simple mails be written as attachments there are some stupids who put
simple text mails in attachments. And there are some using those mailers
like exchange or outlook that always produce multipart messages with the
first part being the mail itself and the second part something like
"application/ms/tnef" or so. That's lots of binary scrap for those who
do not use the same programm.

Is there a way to prevent Mhonarc from processing certain mails like
those described? For example, can I tell Mhonarc to skip mails having a
string like "multipart" in its header?

You may want to look into the MIMEFILTERS resource.  Instead of
completely disregarding all multipart messages, you may just want to
exclude certain media-types from being decoded, like

With v2.3 (and posted to this list) is a filter library
which can be registered for media-types to have MHonArc disregard
certain media-types.  For example, to have all application/ms-tnef
data ignored, use the following:

application/ms-tnef;    m2h_null::filter;


             Earl Hood              | University of California: Irvine
      ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu      |      Electronic 
Loiterer | Dabbler of SGML/WWW/Perl/MIME

<Prev in Thread] Current Thread [Next in Thread>