procmail
[Top] [All Lists]

Re: HTML filter

1998-03-18 03:52:02
|Tue 98-03-17 Talent-Management <datela(_at_)datela(_dot_)com> list.procmail
| Before I try the following Mime filter, can someone tell me if it removes 
| the HTML only, or filters the whole EMAIL?

It detects if the message is calssified as MIME text/html and junks
it to separate folder. It does not touch the message itself.

If you need to filter the actual message 8to remove idiotic html, vcards,
lotus PCX attachements ...) See procmail module pm-jamime-kill.rc.

jari

|     13.2 Killing html mime messages
| 
|         [era] Here is simple filter to throw out unwanted html that is send
|         by using mime.
| 
|             :0:
|             *$ ^Content-Type:$s*multipart/(mixed|alternative);\
|                $WSPCL*boundary="?\/[^;"]+
|             * $ B ?? ^--$\MATCH\$([-a-z]+:.*)*Content-type:$s*text/html
|             junk-html.mbox

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