F-Prot errors

Matthew Bowman mbowman at UDCOM.COM
Thu Mar 27 20:18:21 GMT 2003


Thanks,

Now I get this error:


Mar 27 15:16:43 smithers MailScanner[20157]: Files: "Dumb" scan of all
files
Mar 27 15:16:43 smithers MailScanner[20157]: 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 "Files: "Dumb" scan of all files". Please mail the author
of MailScanner
Mar 27 15:16:43 smithers MailScanner[20157]: Switches: -ARCHIVE -OLD

Regards,

Matthew K Bowman
Systems Administrator; Hostmaster; Miva Administrator
Universal Digital Communications, Mansfield Ohio.





Julian Field <mailscanner at ECS.SOTON.AC.UK>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
03/27/2003 03:01 PM
Please respond to MailScanner mailing list


        To:     MAILSCANNER at JISCMAIL.AC.UK
        cc:
        Subject:        Re: F-Prot errors


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