MailScanner delivering mail with virus? - Addition

Greg Matthews gmatt at nerc.ac.uk
Wed Sep 24 10:30:49 IST 2008


Julian,

the patch below does not work on my 32bit platforms. On my 64bit test 
platform it works fine but on the production relays $Name does not seem 
to be populated. Any explanation for this? Anyone else seeing it?

GREG

Julian Field wrote:
> Please try this patch for SweepViruses.pm (in 
> /usr/lib/MailScanner/MailScanner)
> 
> --- SweepViruses.pm.old    2008-09-04 10:10:36.000000000 +0100
> +++ SweepViruses.pm    2008-09-04 17:03:03.000000000 +0100
> @@ -1506,7 +1506,7 @@
>     return 0;
>   } else {
>     # Must be an infection reports
> -    MailScanner::Log::InfoLog("%s::%s", 'ClamAVModule', $logout);
> +    MailScanner::Log::InfoLog("%s::%s", $Name, $logout);
> 
>     ($dot, $id, $part, @rest) = split(/\//, $filename);
>     $report = $Name . ': ' if $Name;
> 


-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.



More information about the MailScanner mailing list