ANNOUNCE: beta release 4.23-1

Julian Field mailscanner at ecs.soton.ac.uk
Fri Aug 8 14:08:45 IST 2003


At 12:49 08/08/2003, you wrote:
>On Thu, 7 Aug 2003 15:33:32 +0100 Julian Field
><mailscanner at ECS.SOTON.AC.UK> wrote:
>
> > * Fixes *
> > - Corrected handling of non-archives in kavdaemonclient scanner.
>
>Hello,
>
>I just diffed SweepViruses.pm between MailScanner-4.22-5.rpm.tar.gz
>and MailScanner-4.23-2.rpm.tar.gz and don't see any difference in
>kavdaemonclient output parsing code.
>
>Regards,
>Nerijus

Well caught!

Here's a patch for SweepViruses (it's a 2 character change in 1 line).

--- SweepViruses.pm     2003-08-08 12:29:10.000000000 +0100
+++ SweepViruses.pm.new    2003-08-08 14:11:03.000000000 +0100
@@ -1267,7 +1266,7 @@
      $logout =~ s/%/%%/g;
      MailScanner::Log::InfoLog($logout);
      $line =~ s/^$BaseDir//;
-    $line =~ s/(.*) infected:.*/\.$1/; # To handle long paths again
+    $line =~ s/(.*)\sinfected:.*/\.$1/; # To handle long paths again
      ($dot,$id,$part, at rest) = split(/\//, $line);
      $report = $Name . ': ' . $report if $Name;
      $infections->{"$id"}{"$part"} .= $report . "\n";

This will be in the next release.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list