Reporting quirqs

Julian Field mailscanner at ecs.soton.ac.uk
Tue Apr 29 17:52:53 IST 2003


Fixed. Please apply this patch to
/usr/lib/MailScanner/MailScanner/SweepViruses.pm :

--- SweepViruses.pm     Sat Apr 26 10:55:57 2003
+++ SweepViruses.pm.new Tue Apr 29 17:54:29 2003
@@ -1692,7 +1692,7 @@

    if (/^(.*?): (.*) FOUND$/)
    {
-     my ($file, $subfile, $virus, $report);
+     my ($file, $subfile, $virus, $report, $ReportStart);
       $virus = $2;
       if ($clamav_archive)
       {
@@ -1709,8 +1709,9 @@
       $file =~ s/^\.\///;
       my ($id,$part) = split /\//, $file, 2;

-    $part = $Name . ': ' . $part if $Name;
-    $infections->{"$id"}{"$part"} .= "$part contains $virus $report\n";
+    $ReportStart = $part;
+    $ReportStart = $Name . ': ' . $ReportStart if $Name;
+    $infections->{"$id"}{"$part"} .= "$ReportStart contains $virus $report\n";
      $types->{"$id"}{"$part"} .= "v";
      return 1;
    }

This patch will obviously be included in the next release.

At 17:25 29/04/2003, you wrote:
>It also happens with F-Secure, Nod32, and ClamAV .. so it's definitely
>ClamAV..

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list