f-secure version 4.52

Julian Field mailscanner at ecs.soton.ac.uk
Tue Feb 10 09:47:42 GMT 2004


At 00:09 10/02/2004, you wrote:
> >-----Original Message-----
> >Please apply this patch to
> >/usr/lib/MailScanner/MailScanner/SweepViruses.pm
> >It comes down to a 1 character change to the code :-)
> >
> >------SNIP-------
> >--- SweepViruses.pm.old    2003-12-01 16:26:26.000000000 +0000
> >+++ SweepViruses.pm     2004-02-07 11:37:34.000000000 +0000
> >@@ -1585,7 +1585,10 @@
> >      $fsecure_InHeader++;
> >      return 0;
> >    }
> >-  $fsecure_InHeader == 0 or return 0;
> >+  # This test is more vague than it used to be, but is more
> >tolerant to
> >+  # output changes such as extra headers. Scanning
> >non-scanning data is
> >+  # not a great idea but causes no harm.
> >+  $fsecure_InHeader >= 0 or return 0;
> >
> >    $report = $line;
> >    $logout = $line;
> >------SNIP-------
>
>
>Just to cover my bases: anybody running 4.52 should apply this?
>
>And to apply it I copied the stuff between the snips to SweepViruses.pm.old
>and should now do:

No. Save the bit between the snips to a file (let's call it SV.patch for now).
cd /usr/lib/MailScanner/MailScanner
patch < SV.patch

If that doesn't work, try
patch -p0 < SV.patch
instead.



>         patch SweepViruses.pm SweepViruses.pm.old
>
>from within /usr/lib/MailScanner/MailScanner/
>
>Thanks...
>
>...Kevin

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

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



More information about the MailScanner mailing list