[clamav-users] ClamAV - Configure the "clamd at scan" service to notify me by email

Eduardo Lúcio Amorim Costa eduardolucioac at gmail.com
Sun Jan 26 23:01:33 UTC 2020


*Is it possible to configure the "clamd at scan" service to notify me by email
if any threats are found? If so how can I do this?*
*NOTE:* Examples and/or documentation are most welcome! By the way, I have
"sendmail" application configured on all servers in my infrastructure.

*IMPORTANT:* I noticed that there is a parameter called "VirusEvent" in the
"/etc/clamd.d/scan.conf" file...

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

... but it seems that its option is buggy and was only fixed in version
0.102-beta (
https://blog.clamav.net/2019/08/clamav-01013-security-patch-release-and.html
) and my version is this...

"
[root at localhost ~]# clamscan -V
ClamAV 0.101.5/25707/Sun Jan 26 08:40:28 2020
"

Thanks! =D

-- 
*Eduardo Lúcio*
LightBase Consultoria em Software Público
eduardo.lucio at LightBase.com.br
*+55-61-3347-1949 - http://brlight.org <http://brlight.org/> - Brasil-DF*
*Software livre! Abrace essa idéia!*
*"Aqueles que negam liberdade aos outros não a merecem para si mesmos."*


*Abraham Lincoln*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20200126/b307e493/attachment.htm>


More information about the clamav-users mailing list