I know that. the problem is that all the prefix's of clamscan i tried always show more info (errors + more) and not just the virus's found.
On 9/3/06, Stephen Gran <[EMAIL PROTECTED]> wrote:
On Sun, Sep 03, 2006 at 10:31:03AM +0200, Erez Epstein said: > Hello, > > i have set up clamscan, to periodically scan my system using crontab. > i want to add a mail notification whenever it founds a virus (and only a > virus ) > > anyone have an idea? cron already mails any output. The user who gets the email is usually the user whose cronjob it is, but it can be overridden with the MAILTO variable. I suggest just tuning clamscan's output to only reporting viruses. Take a look at the manpage for how to do that. -- -------------------------------------------------------------------------- | Stephen Gran | Power is danger. -- The Centurion, | | [EMAIL PROTECTED] | "Balance of Terror", stardate 1709.2 | | http://www.lobefin.net/~steve | | -------------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFE+rusSYIMHOpZA44RAq2xAJ46PAuKhgpnA4C+LEOdXDrrQcJtvgCg2/xU HrfTRYM7MWMXxcLR4bpbukA= =bx89 -----END PGP SIGNATURE----- _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html