ClamAV: Difference between revisions

From DWIKI
Line 16: Line 16:
  wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
  wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
  wget --timestamping  http://download.mirror.msrbl.com/MSRBL-Images.hdb
  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
wget http://www.malware.com.br/cgi/submit?action=list_clamav
  chown clamav.clamav *
  chown clamav.clamav *
  killall -HUP clamd
  killall -HUP clamd

Revision as of 22:27, 11 December 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 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.