Skip to topic | Skip to bottom
Home
Socialtools
login



Socialtools.StandardClamr1.1 - 14 Jun 2004 - 21:32 - TWikiGuesttopic end

Start of topic | Skip to actions

Clam AntiVirus

Clam Version

Tested with Clam AntiVirus 0.73.

Introduction

Clam AntiVirus is a fast command-line virus checker. It uses a local virus database which it updates periodically from a central server. We recommend using it with Sympa.

Installation

Install prerequisites:

sudo apt-get install libgmp3 libgmp3-dev zlib1g zlib1g-dev libbz2 libbz2-dev

Download the latest stable version.

Create a user and group for Clam:

sudo groupadd clamav
sudo useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

Install /usr/local/configure-wrappers/configure-clamav (make it world-executable). Compile and install Clam:

tar zxf clamav-0.x.tar.gz
cd clamav-0.x
/usr/local/configure-wrappers/configure-clamav
make
sudo make install

In /etc/profile:

  • Add /usr/local/clamav/bin to LOCAL_PATH.
  • Add /usr/local/clamav/man to LOCAL_MANPATH.

Make a place for the log generated when Clam updates its virus database:

sudo touch /var/log/clam-update.log
sudo chmod 644 /var/log/clam-update.log
sudo chown clamav:clamav /var/log/clam-update.log

Schedule a cron job to update the virus database, by installing /etc/cron.daily/freshclam (make it world-executable).

TODO

All mail should really be filtered through Clam; currently only StandardSympa uses it. One way would be to use ClamAssassin. Otherwise, Here is a document that might be helpful, in addition to this one.
to top

I Attachment sort Action Size Date Who Comment
configure-clamav manage 0.1 K 01 May 2003 - 22:54 BenjaminGeer /usr/local/configure-wrappers/configure-clamav
freshclam manage 0.1 K 07 Jul 2003 - 12:04 BenjaminGeer /etc/cron.daily/freshclam

You are here: Socialtools > ServerConfigStandard > StandardClam

to top

Copyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Open-org? Send feedback