Install ClamAV


Clam AntiVirus is a free software, cross-platform antimalware toolkit able to detect many types of malware, including viruses.

Install ClamAV

ClamAV can be installed from the apps page. To go to the apps page, click on Install an App under Apps in the admin panel.


Admin Panel Screenshot

Enduser Panel Screenshot

  • Scan Entire Home Directory — Scans your server’s home directory.

  • Scan Mail — Scans all of your server’s mail folders.

  • Scan Public FTP Space — Scans all folders that FTP users can access.

  • Scan Public Web Space — Scans all folders that web visitors can access.

ClamAV cron job

After you configure ClamAV, we recommend that you schedule a root cron job to run daily during off-peak hours. The following example demonstrates a command that will scan the server’s accounts:

find /home/ -mindepth 1 -maxdepth 1 -name .rapid-scan-db -o -type d -prune -exec /usr/bin/clamscan -i -r {} \; > /root/scan_results.txt

This command recursively searches the home directory for spam and infected files.

    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list