procmail
[Top] [All Lists]

HTML filter

1998-03-17 09:35:39
Before I try the following Mime filter, can someone tell me if it removes 
the HTML only, or filters the whole EMAIL?

Bryan



    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

        Some more examples can be found from section: 'Explaning  ^^ and ^'



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