Plesk or Parallels Plesk Panel is the most complete Web hosting control panel available today. In fact, it’s the only Web hosting panel that includes integrated Web design tools, a SaaS storefront, and fully automated billing and provisioning. Plus it delivers maximum profits for growing service providers; provides key tools for Web designers; and includes an easy-to-use server control panel for IT professionals (and small businesses without IT staff).
Unfortunately, by default its does not include virus and malware scanning via ftp uploading. For more secure server, it is best to have this feature above all the best services plesk had provided. The process quite simple, just follow below instructions.
The first thing you need to check whether you had install atomicorp repository. Because only atomicorp had integrate psa-proftp with clamav, where plesk default installation does not include it. If you had not installed it, just type below command to install.
Install atomicorp repos:
$ wget -q -O – http://www.atomicorp.com/installers/atomic | sh
Now, you need to update both clamav and proftp.
$ yum update clamav clamd
$ yum update psa-proftpd
Then, you need to edit clamav setting.
(change the user into root instead of clamav)
After that, you also need to edit proftp setting as well.
$ vi /etc/proftpd.conf
Double checks whether clamav had successfully patch:
$ proftpd -vv
(if its correctly patch, you will see “mod_clamav.c” in the module)
Lastly, all you need to do is to restart both clamav and proftp to get it work.
$ service clamd restart
$ service xinetd restart
Finally, go to http://www.eicar.org/anti_virus_test_file.htm to download eicar test virus and upload it to your ftp server and test it out. Clamav will remove the virus files and you will see the upload virus in 0 bytes. You may view on your clamav log for more details.