Difference between revisions of "Talk:Dansguardian"

From SME Server
Jump to navigationJump to search
(Antivirus howto)
Line 16: Line 16:
 
  notifycontent = on <= content 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]
+
Restart dansguardian and try to [http://securite-informatique.info/virus/eicar/download/eicar.zip download eicar test virus ]
  
 
DansGuardian should block the download!
 
DansGuardian should block the download!

Revision as of 11:46, 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

DansGuardian should block the download!