File: README.ANOMY

package info (click to toggle)
mimedefang 2.64-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,888 kB
  • ctags: 624
  • sloc: ansic: 8,338; perl: 6,380; sh: 1,555; tcl: 693; makefile: 71; php: 19
file content (23 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.