F-Prot errors
Julian Field
mailscanner at ecs.soton.ac.uk
Thu Mar 27 20:01:38 GMT 2003
Apply this patch to /usr/lib/MailScanner/MailScanner/SweepViruses.pm :
--- /root/v4/mailscanner/mailscanner/bin/MailScanner/SweepViruses.pm Wed
Mar 26 21:47:01 2003
+++ SweepViruses.pm Thu Mar 27 19:58:26 2003
@@ -992,16 +992,19 @@
my($report, $infected, $dot, $id, $part, $virus, @rest);
my($logout);
- #print STDERR $line;
+ #print STDERR "$fprot_InCruft $line";
chomp $line;
# Look for the "Program version: 4...." line which shows we are running
# version 4 and therefore have different headers at the start of the
# scan output.
- if ($fprot_InCruft==-2 && $line =~ /program\s+version:\s*4/i) {
- $fprot_InCruft -= 1;
- return 0;
+ if ($fprot_InCruft==-2) {
+ my $version = $1 if $line =~ /program\s+version:\s*([\d.]+)/i;
+ if ($version > 3.12) {
+ $fprot_InCruft -= 1;
+ return 0;
+ }
}c
return 0 if $fprot_InCruft > 0; # Return if we are still in headers
# One header paragraph has finished, count it
I will put this code in the next release.
At 16:39 27/03/2003, you wrote:
>Trying to setup F-Prot for evaluation w/ MailScanner and got this error:
>
>Either you've found a bug in MailScanner's F-Prot output parser, or
>F-Prot's output format has changed! F-Prot said
>this "Switches: -ARCHIVE -OLD". Please mail the author of MailScanner
>
>The file I loaded was fp-linux-eb-3.13-0.i386.rpm
>
>I followed the notes in the FAQ
>
>
>I'm using MS 4.13-3 on a RH 7.2 box.
>
>Any ideas?
>
>Thanks
>
>Matthew
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses
***********************************************************************************
More information about the MailScanner
mailing list