I found the installation instructions for Ubuntu СlamAV:
Ubuntu install done
wget <link to source>
apt-get install cmake build-essential libboost-thread1.48-dev libboost-filesystem1.48-dev libboost-regex1.48-dev libboost-chrono1.48-dev
cp avir_clam.so /opt/kerio/mailserver/plugins/avserver/avirs/
But it only works for 32 bit OS. And I have a 64 bit operating system.
I haven't try Ubuntu, but in 64-bit CentOS its like this "copy/paste" instruction. It is possible that plugin works in 64-bit Ubuntu. However, this does not work on CentOS 5, because plugin requires same cmake-version that CentOS 6 have. This plugin is running in production KC8.2.4 without problems.
##You must use 32-bit av-plugin on KC8.2.X and older versions.
##You must use 64-bit av-plugin on KC8.3.X and newer versions.
Download and install CentOS-6.5-i386-minimal.iso
Download and install CentOS-6.5-x86_64-minimal.iso
-All defaults, but configre the network to be enabled
To start network manually after boot:
Change line: ONBOOT=no
Save the file and reboot computer
Now you should have network
Install wget and nano:
yum install wget
yum install nano
Install EPEL repository for cmake28:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6 -8.noarch.rpm
rpm -Uvh epel-release-6*.rpm
Install development tools:
yum install cmake28 gcc-c++ git
Make folders and download boost:
mkdir boost && cd boost
wget http://sourceforge.net/projects/boost/files/boost/1.51.0/boo st_1_51_0.tar.gz
tar xvzf boost*
Add boost to path:
Make folders and download sdk:
mkdir avp && cd avp
git clone https://github.com/Kerio/antivirus-sdk
64bit only: If running on 64-bit OS, make these extra steps:
64bit only: Edit file CMakeLists.txt
64bit only: Remove whole line: "SET_TARGET_PROPERTIES(avir_clam PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")"
64bit only: Change line: "set(Boost_USE_STATIC_LIBS ON)" to "set(Boost_USE_STATIC_LIBS OFF)"
64bit only: Save changes and continue building
After this, you should have file "avir_clam.so" on the same folder.
To run tests, install and start Clamd
yum install clamd
Kerio discussion forums are intended for open communication between forum
members and may contain information and material posted by members which may
be useful in learning about Kerio products. The discussion forums are not
intended to provide technical support for any specific product. Any
information implied or expressed in the discussion forums is that of the
posting member. Kerio is in no way responsible for the information posted in
the forums, or its accuracy. Kerio employees may participate in the
discussions, but their postings do not represent an offical position of the
company on any issues raised or discussed. Kerio reserves the right to
monitor and maintain the forums to promote free and accurate exchange of