Talk:Dansguardian

From SME Server
Jump to navigation Jump 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

DansGuardian should block the download!