Difference between revisions of "Talk:Dansguardian"

From SME Server
Jump to navigationJump to search
m (Removing all content from page)
(Antivirus howto)
Line 1: Line 1:
 +
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!

Revision as of 10:45, 12 November 2007

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!