Hi,
I want to use clamav in supervised mode. But I am facing a problem that
it is not scanning the mails, it is letting even virus mails pass through.
The mail system is qmail and the AV handler is qmvc. When I run clamd as,
# clamd &
it works beautifully ti fails only in supervised mode.

My run script is,
# cat run
#!/bin/sh
exec 2>&1
#exec /usr/local/bin/chpst -u clamav \
#/usr/local/bin/chpst -m 40000000 /usr/local/sbin/clamd
#exec /usr/local/bin/chpst -m 80000000 /usr/local/sbin/clamd
exec /usr/local/sbin/clamd

Here I am using Gerrit Pape's runit and ipsvd. As you can see from the 
script above I have tried some combinations too (which I have commented).

# ps aux | grep clam
clamav   29038  0.2  1.2 13824 12688 ?       S    20:46   0:00 /usr/local/sbin/clamd
popuser  29368  0.0  0.0  1676  512 ?        S    20:51   0:00 /bin/ksh 
/usr/qmvc/bin/av_clamdscan clamdscan C 0 1
popuser  29369  0.0  0.0  2008  624 ?        S    20:51   0:00 
/usr/local/bin/clamdscan --verbose --stdout /usr/qmvc/tmp/qmvc.520029107/content

This is there for quite some time (2-3 mins) and then the mail is passed
through even though there is virus.
I also happen to have MaxThreads 30 in clamav.conf.

Can someone tell me where the problem lies? FYI the OS is,
Red Hat Enterprise Linux ES release 3

Thanks.
-Shantanu


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to