[Clamav-users] clamav_rmdirs problem

2004-02-17 Thread Brian J. France
I am hooking clamscan into a procmail filter like this: :0 CLAMAV=|/usr/bin/clamscan --disable-summary --stdout --mbox - :0 * CLAMAV ?? .*: \/.* FOUND { :0 fhw | /usr/bin/formail -a"X-ClamAV: ${MATCH}" } But clamscan seems to hang and never return. From strace it seem to be stuck in a loop:

Re: [Clamav-users] clamav_rmdirs problem

2004-02-17 Thread Brian J. France
l,-a,X-ClamAV: Worm.SCO.A-dam FOUND" Of course this only is working because I have commented out that section of code in the clean up function clamav_rmdirs. Brian [1] Originally copied from: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF -8&selm=13w6cjksyx6

Re: [Clamav-users] Clam virus scanning through procmail

2004-05-13 Thread Brian J. France
This is what I am using: --- clamav.rc --- :0 CLAMAV=|/usr/bin/clamdscan --mbox --disable-summary --stdout - :0 * CLAMAV ?? .*: \/.* FOUND { :0 fhw | /usr/bin/formail -a "X-ClamAV: ${MATCH}" } #:0E fhw #| /usr/bin/formail -a "X-ClamAV: clean" I didn't want to add a header to clean messag