Le 2014-04-14 17:15, Bowie Bailey a écrit :
> Anyone try to use courier-pythonfilter with the latest ClamAV?  I'm
> trying to set this up on my new server, but I'm getting some errors
> trying to build the pyclamav package that it requires.  Apparently, it
> is only tested up to ClamAV 0.93, while the current version is 0.98.
> I'm wondering if it is no longer compatible, or if I'm doing something
> wrong.
> 
> I'm looking for something more lightweight than Amavis.  All I need is
> something that can run ClamAV on incoming mail.  Any other suggestions?

Hello,

root@srv-bron:~# diff clamav.py clamav.py.orig
42,43c42,43
<             pyclamd.init_unix_socket(localSocket)
<             avresult = pyclamd.scan_file(bodyFile)
---
>             clamd = pyclamd.ClamdUnixSocket(localSocket)
>             avresult = clamd.scan_file(bodyFile)


HTH.
Jérôme Blion.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to