Webbug disabling

Julian Field mailscanner at ecs.soton.ac.uk
Thu Jun 10 15:13:14 IST 2004


Here's a patch for Message.pm that implements your idea.

-----SNIP-----
--- Message.pm.old      2004-06-10 15:16:19.000000000 +0100
+++ Message.pm  2004-06-10 15:16:26.000000000 +0100
@@ -3717,7 +3717,9 @@
      if (exists $attr->{'width'}  && $attr->{'width'}<=2 &&
          exists $attr->{'height'} && $attr->{'height'}<=2) {
        print '<img src="MailScannerWebBug" width="' . $attr->{'width'} .
-            '" height="' . $attr->{'height'} . '" alt="Web Bug" />';
+            '" height="' . $attr->{'height'} . '" alt="Web Bug';
+      print ' from ' . $attr->{'src'} if $attr->{'src'};
+      print '" />';
      } else {
        print $text;
      }
-----SNIP-----

At 14:57 10/06/2004, you wrote:
>Installed the latest 4.31 release earlier today.
>
>I see that the webbug disabling function replaces web bugs by
><img src="MailScannerWebBug" width="1" height="1" alt="Web Bug" />
>
>A further enhancement would be to keep a track of the original bug
>somehow - perhaps something like this:
>
><img src="MailScannerWebBug" width="1" height="1" alt="Web Bug from
>http://wherever disabled by MailScanner" />
>
>Also, does this disarming take place before or after SpamAssassin gets a
>look at the message?
>
>
>John.
>
>--
>-- Over 2400 webcams from ski resorts around the world - www.snoweye.com
>-- Translate your technical documents and web pages    - www.tradoc.fr
>
>-------------------------- MailScanner list ----------------------
>To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
>Before posting, please see the Most Asked Questions at
>http://www.mailscanner.biz/maq/     and the archives at
>http://www.jiscmail.ac.uk/lists/mailscanner.html

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list