procmail
[Top] [All Lists]

Re: Filtering out unwanted mime attachments

1997-10-13 11:20:45
On Sun, 12 Oct 1997, J. Daniel Smith wrote:

Something along the lines of
   :0hbfw
   * ^Mime-Version:
   * ^Content-Type:[  ]*multipart/alternative
   | extract_text_portion
Where "extract_text_portion" is some MIME-aware filter that will
extract the text/plain part of a multipart/alternative message.  If
you *still* have a multipart message after this filter, *then* it
might be OK to drop it.

Hmm, this sounds interesting :-)

Does anyone has an example of a MIME-aware filter ????

Greetz,
Rob - robvdw(_at_)glo(_dot_)be