procmail
[Top] [All Lists]

Re: Drop MIME messages (Re: mime)

1995-10-17 19:17:08
Mad Max <poulosio(_at_)netcom(_dot_)com> wrote:
Has anyone found a way to "killfile" MIME mail using Procmail? I use the 
elm mail reader, which does not support MIME. As a result, I refuse such 
mail.

You could simply do something like:

      :0 h
      * ^MIME-Version: [^0-9]
      /dev/null

This is a really bad idea to do this.  This is such an easy
problem to fix (and there are multiple solutions).

1) The standard version of elm does support MIME.  You just need
   get the metamail package and set up your mailcap correctly.

2) Recompile elm to not do any MIME processing.  The problem with
   the standard elm package is that its MIME handling is very dumb.
   It tries to feed MIME messages to metamail even when it is not
   necessary (content-type is text).

3) Get the version of elm maintained by Michael Elkins (sp?)
   It's MIME support is greatly improved.  It knows how to handle
   MIME messages whose content-type are text.  It also adds some
   other cool features such as support for PGP.  This version can
   be found at ftp://cs.hmc.edu/pub/me.  There is a web page for it
   at http://www.cs.hmc.edu/~me/elm/me.html

Also the next version of elm (2.5) should be out by the end of the
year and should have much improved MIME handling capabilities.
Whether you like it or not, MIME is here to stay and its useage
continues to increase.  Having procmail sink all MIME messages is like
sticking your head in the sand.

Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu

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