6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier-pythonfil...
FromSent OnAttachments
FMDec 21, 2007 9:25 am 
Robert PenzDec 21, 2007 9:49 am 
Gordon MessmerDec 21, 2007 10:16 am 
Tim LythDec 21, 2007 1:04 pm 
Jérôme BlionJan 1, 2008 7:43 am 
Gordon MessmerJan 5, 2008 3:00 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] courier-pythonfilter clamav questionActions...
From:Robert Penz (rob@penz.name)
Date:Dec 21, 2007 9:49:24 am
List:net.sourceforge.lists.courier-users

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.