Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Kerio 8.3.2 ClamAV ubuntu 64 bit

Messages: 1
Karma: 0
Send a private message to this user

I found the installation instructions for Ubuntu –°lamAV:


Ubuntu install done

wget <link to source>
cd antivirus-sdk-master/clam/
apt-get install cmake build-essential libboost-thread1.48-dev libboost-filesystem1.48-dev libboost-regex1.48-dev libboost-chrono1.48-dev
cmake .
make all
cp /opt/kerio/mailserver/plugins/avserver/avirs/
/etc/init.d/kerio-connect stop
vi /opt/kerio/mailserver/mailserver.cfg

<table name="Antivir">
<variable name="AvirEnabled">1</variable>
<variable name="UsedInternal">0</variable>
<variable name="UseMcAfee">0</variable>
<variable name="UsedPlugin">avir_clam</variable>

/etc/init.d/kerio-connect start

But it only works for 32 bit OS. And I have a 64 bit operating system.

Any ideas

Messages: 27
Karma: 0
Send a private message to this user

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:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Change line: ONBOOT=no
To: ONBOOT=yes
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 -8.noarch.rpm
rpm -Uvh epel-release-6*.rpm

Install development tools:
yum install cmake28 gcc-c++ git

Make folders and download boost:
cd /root
mkdir boost && cd boost
wget st_1_51_0.tar.gz
tar xvzf boost*
cd boost*

Add boost to path:
export BOOST_ROOT=/root/boost/boost_1_51_0

Make folders and download sdk:
cd /root
mkdir avp && cd avp
git clone
cd antivirus-sdk/clam/
cmake28 .

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

Continue building:


After this, you should have file "" on the same folder.

To run tests, install and start Clamd
yum install clamd
/etc/init.d/clamd start


Previous Topic: Browser Warnings
Next Topic: Some mails not synchronised to Outlook 2011 ( mac )
Goto Forum:

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 information.

Current Time: Sun May 28 18:36:09 CEST 2017

Total time taken to generate the page: 0.00788 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.