ClamAV: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 22: Line 22:
  chown clamav.clamav *
  chown clamav.clamav *
  killall -HUP clamd
  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.

Revision as of 08:31, 1 April 2008

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.