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
This works fine when Clamuko finds the Virus using its real time scanning and I receive an email.
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