LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-07-2005, 03:50 PM   #1
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Rep: Reputation: 15
Unhappy 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
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
 
Old 05-08-2005, 10:03 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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.]

Last edited by Berhanie; 05-09-2005 at 09:15 AM.
 
Old 05-09-2005, 01:06 PM   #3
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks! That would be the problem :-)

Tim
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV depam Linux - Software 1 10-18-2005 07:33 PM
clamav merize147 Ubuntu 2 10-13-2005 07:29 AM
ClamAV dudeman41465 Linux - Software 3 10-11-2005 08:40 AM
problems with clamav AVD_ZM Linux - Security 0 02-13-2005 07:57 PM
help with clamAV Lleb_KCir Linux - Software 6 01-29-2005 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration