ClamAV VirusEvent not working...
Hi,
I have setup ClamAV on CentOS 4 (RH 4), I have also got Clamuko (real time scanner) working as well. In the clamd.conf I have put in this line to email me when a virus is found... Code:
VirusEvent echo %v | mail -s "A virus has been found on the Office Server" my@email.com < /var/log/clamav/clamd.log But, when I do a manual scan with clamscan it finds the virus but I do not get emailed. The VirusEvent should be executed whenever a virus is found, but obviously it is not. Has anyone got any ideas when this is? Thanks, Tim |
clamd.conf is the config file for the clamd daemon. When you scan with clamscan, you're not using clamd.
[edit: to elaborate, if you want to do manual scanning and still make use of clamd, you should use clamdscan instead of clamscan.] |
Thanks! That would be the problem :-)
Tim |
All times are GMT -5. The time now is 08:07 PM. |