Search the Community
Showing results for tags 'email alert'.
Found 1 result
VirusEvent to email
dmillar posted a topic in ClamAV For Windows General ForumHi all. I’m trying to configure VirusEvent in the clamd.conf file to send an email when a virus is found. I’ve created a .ps1 file with all the correct information and entered it in the conf file: VirusEvent “path to file” “Virus Alert: %v” But I’m getting nothing. If I run the file manually through cmd or PowerShell, I get the email, but if I click the file, it just opens up powershell, showing my settings. Is there something I’m missing? I will add that I can’t create the script without including a subject, but I want the subject outside of the script. And I didn’t put the email address after the path and before the subject as it’s in the script. I tried adding it, but still nothing. Can anyone give advice on how to get this to work? TIA