procmail
[Top] [All Lists]

Re: Drop MIME messages (Re: mime)

1995-10-17 19:44:29
On Wed, 18 Oct 1995, Stephen R. van den Berg wrote:

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:

      /dev/null

Please be careful with this one.  Some mailreaders (PINE for example) put 
the MIME-Version header in all messages, even those lacking MIME content.

My copy of PINE (3.91 for linux) generates this on regular text messages:

MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Might want to modify the recipe like this:

:0 h
* ^MIME-Version: [^0-9]
* ^Content-Type: MULTIPART/MIXED
/dev/null

PINE seems to tack a Content-Type header on when it tries to MIME 
something.  MULTIPART/MIXED might not be a universally  acceptable filter 
parameter for you, but it could be worth experimenting with.


-- 
Howard Goldstein        <hg(_at_)n2wx(_dot_)ampr(_dot_)org>         
http://www.tapr.org/~n2wx/

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