ClamAV

From DWIKI
Revision as of 13:10, 4 September 2008 by Tony (talk | contribs) (→‎FAQ)

Clam Antivirus

Virus scanner for mail and files.

A handy script for adding more goodies

#!/bin/bash
LOCATION=/var/lib/clamav
cd $LOCATION || exit -1
wget --timestamping http://ftp.tiscali.nl/sanesecurity/phish.ndb.gz && gunzip -f phish.ndb.gz
wget --timestamping http://ftp.tiscali.nl/sanesecurity/scam.ndb.gz && gunzip -f scam.ndb.gz
wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
wget --timestamping  http://download.mirror.msrbl.com/MSRBL-Images.hdb
wget -O - http://www.malware.com.br/cgi/submit?action=list_clamav > mbl.db
wget http://www.malware.com.br/cgi/submit?action=list_clamav
chown clamav.clamav *
killall -HUP clamd

FAQ

Amavis not finding socket clamd.ctl

Means clamd is busy handling the queue after a powre failure or such, the socket won't be created before it's done.


Milter (clmilter): local socket name /var/run/clamav/clmilter.sock unsafe

Usually means something like clamd not running.