Infected messages requeued - clamav, postfix, v4.70.7

Scott Silva ssilva at sgvwater.com
Fri Jul 11 23:32:43 IST 2008


on 7-11-2008 1:20 PM David Greenstein spake the following:
> Thanks for the reply Jules! I agree that this would be too obvious
> of a bug for someone else not to have run into... so hopefully
> I'm just doing something silly.
> 
> For the debug message, I put a loop in MessageBatch::VirusScan after
> MailScanner::SweepViruses::ScanBatch is called that looks as follows:
> 
>   my($key, $message);
> 
>   #print "In PrintInfections(), this = $this\n";
>   while(($key, $message) = each %{$this->{messages}}) {
>     #print STDERR "Key is $key and Message is $message\n";
>     MailScanner::Log::NoticeLog("MESSAGE virusinfected: %d, %s",
> $message->{virusinfected}, $key);
>   }
> 
> It seems that it's necessary for this to be set so that the
> quarantine and other infected operations take place after
> CombineReports uses this to set the "infected" key in the
> message.... but I'm likely misreading something in the code.
> 
> Here are all the versions I have installed (the "ss#" in the
> rpm is because the rpms have been repackaged these with a slightly
> different name)... perhaps that is part of the problem.
> 
<<snip>>
> 
> 
> MailScanner --lint
> 
> **** ERROR: You must upgrade your perl IO module to at least
> **** ERROR: version 1.2301 or MailScanner will not work!
> 
> 
> This must be due to the renamed package. I think I'll try to install
> MailScanner's default rpms right from the download site on a fresh
> linux install and see what happens.
> 
> Thanks for your help!
> 
> Dave
Just curious, but why do you need to rebuild all your rpm's?


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080711/c62e6ae0/signature.bin


More information about the MailScanner mailing list