Hi, I try to use ' VirusEvent' in clamd.conf to send an email if a Virus is detected. But it seems that it is not executed. I also tried to execute a script but did not work either.
VirusEvent tail -1 /var/log/clamav/clamav.log > /tmp/clammail && mail -s "Clamav Virus Alert" mailaddress < /tmp/clammail or VirusEvent /etc/clamv/script.sh The Virus is detected and logged in /var/log/clamav/clamav.log How can I use 'VirusEvent'? Thanks!!
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml