Clamav module problem.. solved (i think)

Luca Palazzo luca.palazzo at NCE-ICT.IT
Sat Feb 12 20:25:33 GMT 2005


    [ The following text is in the "ISO-8859-15" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,
I had some problem with MS non finding Bagz.E using clamavmodule.

I've solved the problem with this patch in SweepVirus.pm

--- SweepViruses.pm     2005-01-25 22:17:02.000000000 +0100
+++ /opt/MailScanner/lib/MailScanner/SweepViruses.pm    2005-02-12
00:06:38.000000000 +0100
@@ -1002,10 +1002,12 @@
       if (MailScanner::Config::Value('allowpasszips')) { # || $haverar) {
         $results = $Clam->scan("$dirname/$childname/$filename",
                                Mail::ClamAV::CL_SCAN_ARCHIVE() |
+                               Mail::ClamAV::CL_SCAN_PE() |
                                Mail::ClamAV::CL_SCAN_OLE2());
       } else {
         $results = $Clam->scan("$dirname/$childname/$filename",
                                Mail::ClamAV::CL_SCAN_ARCHIVE() |
+                               Mail::ClamAV::CL_SCAN_PE() |
                                Mail::ClamAV::CL_SCAN_BLOCKENCRYPTED() |
                                Mail::ClamAV::CL_SCAN_OLE2());

What about it?

Thanks

Luca

--

Luca Palazzo
System Engineer

N.C.E.  Network Consulting Engineering s.r.l.
Via Etnea, 52 - 95028 Valverde (CT) - ITALY
Tel/Fax: +39 095 524190
Mobile: +39 340 4608689
web: www.nce-ict.it
mail: luca.palazzo at nce-ict.it

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list