[pmmail-list] Filter out HTML

Dave Saville pmmail-list@blueprintsoftwareworks.com
Wed, 17 Sep 2003 15:57:34 +0100 (BST)


On Wed, 17 Sep 2003 09:50:03 -0500, Larry Alkoff wrote:

>I'm trying to write a filter to filter all mail containing HTML to a Spam folder.
>
>Tried filtering on
>Content-Type: text/html
>but this did not cover most of the html.
>
>Also found some offending mail as
>Content-Type: multipart/alternative.
>
>Should I use a multipart filter for both?
>Are there any other types to filter out?
>
>Maybe I should simply simply filter all that are
>not Content-Type: plain text?

What about attachments? - Yeah I know that accounts for a lot of spam
too :-)

What would be interesting would be to take all your *non* spam
messages, grep for content type, sort the output and do some sums.

-- 
Regards

Dave Saville
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com 
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------