This is an old revision of the document!
Plugin allows to use ClamAV with i-MSCP.
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!
1. Install the needed Debian / Ubuntu packages
Installation of clamav packages:
# aptitude update # aptitude install clamav clamav-base clamav-daemon clamav-freshclam clamav-milter
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
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
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.
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.