workaround for "file size limit exceeded" messages?

Julian Field mailscanner at ecs.soton.ac.uk
Wed Nov 5 16:02:04 GMT 2003


At 15:47 05/11/2003, you wrote:
>On November 5, 2003 01:42 am, you wrote:
> > Do other people agree that this is the preferred behaviour?
> > Detect the virus, but ignore "File size limit exceeded" messages?
> >
> > Your votes please...
>
>Aye!

As a temporary workaround if you don't want this feature, look in
SweepViruses.pm for these lines, and either delete them or comment them out:

   if (/^(.*?): File size limit exceeded\.$/) {
     my ($file, $ReportStart);
     $file = $1;

     $file =~ s/^(.\/)?$BaseDir\/?//;
     $file =~ s/^\.\///;
     my ($id,$part) = split /\//, $file, 2;
     $ReportStart = $part;
     $ReportStart = $Name . ': ' . $ReportStart if $Name;
     $infections->{"$id"}{"$part"} .= "$ReportStart contains dangerous
broken zip file\n";
     $types->{"$id"}{"$part"} .= "v";
     return 1;
   }
--
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