On Thu, 06 May 2004 21:41:48 -0500, Graham Toal <[EMAIL PROTECTED]> wrote:


>------
>pizzabox:/usr/local/src/clamav-devel-20040505 # freshclam --version
>freshclam / ClamAV version devel-20040505
>pizzabox:/usr/local/src/clamav-devel-20040505 # clamscan --version
>clamscan / ClamAV version devel-20040505
>pizzabox:/usr/local/src/clamav-devel-20040505 # freshclam
>ClamAV update process started at Thu May  6 21:18:41 2004
>Reading CVD header (main.cvd): OK
>main.cvd is up to date (version: 22, sigs: 20229, f-level: 1, builder: tkojm)
>Reading CVD header (daily.cvd): OK
>daily.cvd is up to date (version: 305, sigs: 1208, f-level: 2, builder: diego)
>pizzabox:/usr/local/src/clamav-devel-20040505 # clamscan /tmp/virus.test
>/tmp/virus.test: OK
>


Try 

clamscan --mbox /tmp/virus.test

This tells clamscan to treat it as a mail (mime/uuencoded) file.

For example, here's a clamscan on my clamav-milter quarantined files in
/var/spool/clamav

----------- SCAN SUMMARY -----------
Known viruses: 21437
Scanned directories: 0
Scanned files: 30
Infected files: 4
Data scanned: 1.38 MB
I/O buffer size: 131072 bytes
Time: 4.825 sec (0 m 4 s)

Here's the same set with clamscan --mbox

 
----------- SCAN SUMMARY -----------
Known viruses: 21437
Scanned directories: 0
Scanned files: 30
Infected files: 30
Data scanned: 1.00 MB
I/O buffer size: 131072 bytes
Time: 6.538 sec (0 m 6 s)

--
   Steve
   


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to