close
Mailspect Documentation
ClamAV

Since 15 October 2009 "clamav" engine is not supported anymore, but "clamd" engine should be used.

On 15 April 2010 all ClamAV installations older than 0.95 have been disabled. Please check http://www.clamav.net/eol-clamav-094/ for more details.

Starting with MPP 4.21.2 release, "clamav" engine has been removed from MPP distribution packages and "clamd" should be used.

For "clamd" engine, ClamAV should be installed from sources or repository of your distribution of choice.

The following options should be added in clamd.conf:

TCPAddr 127.0.0.1
TCPSocket 3310
User root

In /usr/local/MPP/mppd.conf.xml, "clamd" should be listed in "scan_engines" list:

<scan_engines>clamd</scan_engines>

For Ubuntu/Debian you might want to run:

sudo apt-get update
sudo apt-get install clamav-daemon
sudo dpkg-reconfigure clamav-base

Then choose socket type TCP, port 3310, address 127.0.0.1, user root.


For Ubuntu please remove apparmor:

sudo /etc/init.d/apparmor stop
sudo /etc/init.d/apparmor teardown
sudo update-rc.d -f apparmor remove