In this tutorial I will show you how to integrate ClamAV antivirus into PureFTPd on Debian for virus scanning on upload.
Step 1. First make sure you have followed this tutorial : How to install PureFTPd on Debian
Step2. Install ClamAV and update the virus signatures.
apt-get install clamav
Now update the virus signatures:
ClamAV update process started at Wed Sep 19 10:49:29 2012
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.5 Recommended version: 0.97.6
DON’T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
daily.cld is up to date (version: 15370, sigs: 262330, f-level: 63, builder: jesler)
bytecode.cld is up to date (version: 190, sigs: 36, f-level: 63, builder: neo)
Step3. Configure PureFTpd to use ClamAV: Continue Reading…