Talk:Dansguardian

From SME Server
Revision as of 10:45, 12 November 2007 by Cool34000 (talk | contribs) (Antivirus howto)
Jump to navigationJump to search

Hi, this is not documented... I don't know where to put this on the wiki article.

ClamAV support

If you want to use DansGuardian with SME antivirus, edit /etc/dansguardian/dansguardian.conf and uncomment following line:

contentscanner = '/etc/dansguardian/contentscanners/clamdscan.conf'

Now at the end of the file, add following lines:

# OPTION: virusscanexceptions
# If off, antivirus scanner will ignore exception sites and urls.
virusscanexceptions = on

If you also want to be warned each time a bad page is blocked, edit /etc/dansguardian/dansguardianf1.conf and modify default settings:

usesmtp = on
mailfrom = 'dansguardian'
avadmin = 'admin'
contentadmin = 'admin'
notifyav = on      <= virus mail alert
notifycontent = on <= content mail alert

Restart dansguardian and try to [download eicar test virus http://securite-informatique.info/virus/eicar/download/eicar.zip]

DansGuardian should block the download!