TrueNAS + ClamAV: Install → Scan → Cron → Email Alerts → Quarantine → inotify
Published 22/09/2026
Description
TrueNAS doesn’t ship with antivirus out of the box, which also means you’re not locked into any single vendor—you can choose what fits your environment. In this video, I show how to use ClamAV on TrueNAS (via Apps/Docker) and then automate the whole workflow from “first scan” to ongoing monitoring. What you’ll see, step by step: Install ClamAV and do the initial configuration. Run a baseline scan to validate paths, performance, and expected results. Schedule recurring scans with cron. Wrap the scan in a script that sends email alerts when something is detected. Add quarantine handling to move/contain suspicious files safely. Upgrade from periodic scanning to near real-time monitoring with inotify. If you’re running shares for multiple devices/users, this is a practical way to add an extra layer of defense and visibility on the storage side. #TrueNAS #TrueNASSCALE #ClamAV #Docker #HomeLab #SelfHosting #NAS #Storage #ZFS #CyberSecurity #InfoSec #Malware #Ransomware #Automation #Cron #inotify #SysAdmin #HomelabAutomation #DataProtection #Hardening #samayas #stef Don’t forget to like, subscribe, and hit the bell for more content. Subscribe to my X account https://l.samayas.eu/jo3eaYEf3E?P=YT&V=91 Buy me a Coffee : https://l.samayas.eu/jX6xL7EWhd?P=YT&V=91 Studio Equipment Camera Sony Alpha ZV-E10 II : https://l.samayas.eu/k7y90TREl0?P=YT&V=91 Secondary Camera Obsbot Tail Air : https://l.samayas.eu/iFQu9WfmCw?P=YT&V=91 Elgato Prompter : https://l.samayas.eu/fHVrqqXtSc?P=YT&V=91 Microphone Rode Wireless GO II : https://l.samayas.eu/afBINjiBXN?P=YT&V=91 Contents 0:00 - Introduction 0:10 - Description 1:04 - Install ClamAV 6:31 - Configure ClamAV 9:41 - CRON 13:52 - Email Script 18:31 - Quarantine 21:41 - On Notify 25:38 - Conclusion