/clamav-daily

Automate ClamAV to Perform Daily System Scans and Send Email Notifications

Primary LanguageShell

clamav-daily

ClamAV is an open source (GPL) antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats.

The script scans pre-defined system locations depending on the day of the week and sends an email notification with a ClamAV log attached if any malware has been found.

Installation on Debian Wheezy

The following packages are used by the script:

  • ClamAV
  • Heirloom-mailx

To install:

# apt-get install clamav clamav-freshclam heirloom-mailx

Configuration

For systems that are up 24/7, you may want to put the script under cron /etc/cron.daily/ for a daily execution.