John Belamaric wrote:

> I have installed clamav-milter 0.87 on a RedHat FC3 box using the rpm. It
> seems to be scanning messages just find, but when it finds an infected
> message, I get this in the log file:
> 
> /tmp/clamav-887afee27b3570d3/msg.5F4hEL: OK
> /tmp/clamav-887afee27b3570d3/msg.Kddmmb: OK
> /tmp/clamav-887afee27b3570d3/msg.MQYQwy: Eicar-Test-Signature FOUND
> sh: no: command not found
> /tmp/clamav-887afee27b3570d3/msg.wj6dY8: OK
> 
> How can I fix this? 

Look into your /etc/clamd.conf, there probably is something in option VirusEvent
that you did not put, perhaps somobody uncommented the sample:

# Execute a command when virus is found. In the command string %v will
# be replaced by a virus name.
# Default: disabled
#VirusEvent /usr/local/bin/send_sms 123456789 "VIRUS ALERT: %v"

and you don't have the command that is executed there (send_sms in the example),
just comment the option to fix.

HTH
-- 
René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to