MIMEDefang includes support for the Anomy HTML Cleaner.  This can
"defang" HTML parts to prevent scripting attacks, Web bugs, etc.
To use the Anomy tools with MIMEDefang:

1) Download the latest Anomy tools from http://mailtools.anomy.net/
2) Unpack the tar file
3) Copy the entire Anomy/ directory (found under bin/) into a directory
   on your Perl's include path (something like /usr/lib/perl5/site_perl/5.005,
   for example.)
4) Configure, make and install MIMEDefang.
5) Use the function anomy_clean_html() on HTML parts, and optionally on
   plain-text parts also.  Here's how you'd use it in filter():

   if ($type eq "text/html" || $type eq "text/plain") {
      return anomy_clean_html($entity);
   }


NOTE NOTE NOTE:
---------------

Many people have reported problems with the Anomy tools; they seem to
be very buggy.  We no longer recommend using them.
