I will give an example of installing and configuring the free ClamAV antivirus for checking email messages for viruses.
Continue reading “Configuring ClamAV + Postfix”Tag Archives: ClamAV
Installing ClamAV for cPanel
I will give an example of installing ClamAV antivirus for cPanel and running a virus scan.
Continue reading “Installing ClamAV for cPanel”ClamAV script for automatic scanning and email notifications
I will give an example of a script for scanning and email notifications when infected files are detected.
Continue reading “ClamAV script for automatic scanning and email notifications”Installing and using ClamAV antivirus
Clam AntiVirus — a package of antivirus software running on many operating systems.
Continue reading “Installing and using ClamAV antivirus”How to start ClamAV scanning from the command line on the cPanel server
Here is an example of checking the public_html directory with the removal of infected files:
/usr/local/cpanel/3rdparty/bin/clamscan -ri --remove /home/user/public_html
Similarly, other directories are checked.
To start checking only the mail and public_html directory for all users:
/usr/local/cpanel/3rdparty/bin/clamscan -ri /home/*/mail /usr/local/cpanel/3rdparty/bin/clamscan -ri /home/*/public_html
To update the anti-virus database, use the command:
/usr/local/cpanel/3rdparty/bin/freshclam
See also my article:
Installing and using ClamAV antivirus software