This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plugins:clamav [2014/01/30 23:33] mrpink |
plugins:clamav [2017/04/24 21:29] (current) nuxwin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ClamAV Plugin Documentation====== | + | See https://github.com/i-MSCP/plugins/blob/master/incubator/ClamAV/README.md |
- | + | ||
- | Plugin allows to use ClamAV with i-MSCP. | + | |
- | + | ||
- | ===== Requirements ===== | + | |
- | * Plugin compatible with i-MSCP versions >= 1.1.0 | + | |
- | * Following installed packages: clamav, clamav-base, clamav-daemon, clamav-freshclam, clamav-milter | + | |
- | + | ||
- | ===== Existing milter configurations ===== | + | |
- | + | ||
- | This plugin will not check for an existing milter configuration in the Postfix main.cf file. | + | |
- | If you need to add an extra milter, please ask in our forum! | + | |
- | + | ||
- | ===== Installation ===== | + | |
- | + | ||
- | **1.** Install needed Debian/Ubuntu packages if not already done | + | |
- | + | ||
- | **1.1** Install the clamav packages | + | |
- | + | ||
- | # aptitude update | + | |
- | # aptitude install clamav clamav-base clamav-daemon clamav-freshclam clamav-milter | + | |
- | + | ||
- | **1.2** Stop the clamav-freshclam daemon if it is running | + | |
- | + | ||
- | # service clamav-freshclam stop | + | |
- | + | ||
- | **1.3** Update the virus database | + | |
- | + | ||
- | # freshclam | + | |
- | + | ||
- | **1.4** Start the clamav-freshclam daemon | + | |
- | + | ||
- | # service clamav-freshclam start | + | |
- | + | ||
- | **1.5** Restart the clamav-daemon | + | |
- | + | ||
- | # service clamav-daemon restart | + | |
- | + | ||
- | **2.** Get the plugin from github | + | |
- | + | ||
- | # cd /usr/local/src | + | |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **3.** Create new Plugin archive | + | |
- | + | ||
- | # cd plugins | + | |
- | # tar cvzf ClamAV.tar.gz ClamAV | + | |
- | + | ||
- | **4.** Plugin upload and installation | + | |
- | + | ||
- | * Login into the panel as admin and go to the plugin management interface | + | |
- | * Upload the ClamAV plugin archive | + | |
- | * Install the plugin | + | |
- | + | ||
- | ===== Update ===== | + | |
- | + | ||
- | **1.** Get the plugin from github | + | |
- | + | ||
- | # cd /usr/local/src | + | |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **2.** Create new Plugin archive | + | |
- | + | ||
- | # cd plugins | + | |
- | # tar cvzf ClamAV.tar.gz ClamAV | + | |
- | + | ||
- | **3.** Backup your current plugin config | + | |
- | + | ||
- | # plugins/ClamAV/config.php | + | |
- | + | ||
- | **4.** Plugin upload and update | + | |
- | + | ||
- | * Login into the panel as admin and go to the plugin management interface | + | |
- | * Upload the ClamAV plugin archive | + | |
- | * Update the plugin list | + | |
- | + | ||
- | ===== Configuration ===== | + | |
- | + | ||
- | For the different configuration options please check the plugin config file. | + | |
- | + | ||
- | # plugins/ClamAV/config.php | + | |
- | + | ||
- | After you made your config changes, don't forget to update the plugin list. | + | |
- | + | ||
- | * Login into the panel as admin and go to the plugin management interface | + | |
- | * Update the plugin list | + | |
- | + | ||
- | ===== Testing ===== | + | |
- | + | ||
- | **Eicar-Test-Signature** | + | |
- | + | ||
- | Send yourself a mail from another account (e.g. gmail or any other freemailer) with the following content in the message: | + | |
- | + | ||
- | X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* | + | |
- | + | ||
- | Note that this should be reproduced in one line, without whitespace or line breaks. | + | |
- | + | ||
- | ===== Authors ===== | + | |
- | * Sascha Bay <[email protected]> | + | |
- | * Rene Schuster <mail@reneschuster.de> | + |