Results 1 to 2 of 2
hi
I've installed clamav, clamav-daemon and clamav-freshclam on my debian etch stable and I scan all directories using:
Code:
05 5 * * * clamscan -r / >/dev/null 2>&1
howto ...
- 05-21-2008 #1Linux Newbie
- Join Date
- Jun 2004
- Posts
- 120
howto send a mail when clamav finds a virus ?
hi
I've installed clamav, clamav-daemon and clamav-freshclam on my debian etch stable and I scan all directories using:howto configure to send a mail when clamav finds a virus ?Code:05 5 * * * clamscan -r / >/dev/null 2>&1
- 05-21-2008 #2
From the clamscan(1) manpages:
Depending on which account's crontab you're running that from, you may need to set the crontab(5) MAILTO variable or set up an appropriate alias for yourself.-i, --infected
Only print infected files.
(Note that cronjobs by default will send stdout/stderr text to mail.)


Reply With Quote
