On Friday 21 December 2007 18:26:16 FM wrote:
> So I asked clamav ML and then they asked me back these :
> How does courier-pythonfilter use clamav? Via clamdscan, sockets, or
> clamscan?
> Can someone have the answer ?
what code are you using? if its mine, its using pyclamav
the code is really easy
import pyclamav
......
pyclamav.scanthis(clamStream)
......
which you can easily test by calling "python" and then pasting following:
import pyclamav
pyclamav.scanfile("filename2scan.bin")
you'll see the result of it.
--
Regards,
Robert
----------------
Robert Penz
robert AT penz DOT name
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users