This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
plugins:clamav [2013/12/16 14:49] mrpink created |
plugins:clamav [2016/11/04 17:58] hodza [Installation] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ClamAV Plugin Documentation====== | + | ======ClamAV Plugin====== |
- | TODO | + | Plugin integrating the ClamAV antivirus which allows to filter mail attachments. |
+ | |||
+ | ===== Requirements ===== | ||
+ | * i-MSCP versions >= 1.2.3 | ||
+ | * See installation section for required software packages. | ||
+ | |||
+ | ===== 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 the needed Debian / Ubuntu packages** | ||
+ | |||
+ | Installation of clamav packages: | ||
+ | |||
+ | # apt-get update | ||
+ | # apt-get install clamav clamav-base clamav-daemon clamav-freshclam clamav-milter rsync | ||
+ | |||
+ | Stop the clamav-freshclam daemon if it is running: | ||
+ | |||
+ | # service clamav-freshclam stop | ||
+ | |||
+ | Update the virus database: | ||
+ | |||
+ | # freshclam | ||
+ | |||
+ | Start the clamav-freshclam daemon: | ||
+ | |||
+ | # service clamav-freshclam start | ||
+ | |||
+ | Restart the clamav-daemon: | ||
+ | |||
+ | # service clamav-daemon restart | ||
+ | |||
+ | **2. Get the plugin from Plugin Store** | ||
+ | |||
+ | http://i-mscp.net/filebase/index.php/Filebase/ | ||
+ | |||
+ | **3. 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 Plugin Store** | ||
+ | |||
+ | http://i-mscp.net/filebase/index.php/Filebase/ | ||
+ | |||
+ | **2. Backup your current plugin config** | ||
+ | |||
+ | # plugins/ClamAV/config.php | ||
+ | |||
+ | **3. 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 <[email protected]> |