Enrique Verdes wrote: > Gordon Messmer escribió: >> >> clamd probably doesn't have access to the mail spool unless you run it >> either as root, or as the same user that Courier uses. >> >> I encourage you to use the clamav.py filter from the distribution. It >> won't have that problem. >> > clamav.py from the distribution uses pyclamav. In the page of pyclamav > they encourage to use the new pyclamd.
So it does. I'm not sure why... the scanfile() function isn't affected, and still works as it always has. > Also, pyclamav uses clamav and > libclamav 0.88 and I'm running clamav 0.90.3. You can rebuild pyclamav 0.4.0 with clamav 0.90.3. It works. > The clamav.py I'm using is the distribution one, only with pyclamd > instead of pyclamav ... > Jun 8 18:29:42 jupiter courierfilter: File > "/usr/lib/python2.4/site-packages/pythonfilter/clamav.py", line 34, in > doFilter > Jun 8 18:29:42 jupiter courierfilter: if avresult[0]: It's not sufficient to just replace pyclamav with pyclamd. pyclamd.scan_file returns a different data type than pyclamav.scanfile does. You might check the list archives, someone else was recently using pyclamd. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
