Adam Webb - Network Manager wrote:

cat filename | clamdscan -

Marc Cuypers [EMAIL PROTECTED] wrote:

Hi,

I'm running clamav 0.60 on Debian.

Can I 'cat' a file to clamdscan, or must it be a physical file on
the disk?

Thanks for your time,

--Marc

When I run clamdscan this way (cat filename | clamdscan -) I get an
OK-message and return value of 0 when there is no virus. I don't get
any messages if the e-mail contains a virus, only a return value of 141. Is this OK? According to the man page I should get 0 1 or 2.


Marc



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to