95d401c4 |
##
## Example config file for freshclam |
c6dbfbcb |
## Please read the freshclam.conf(5) manual before editing this file. |
453581ae |
## This file may be optionally merged with clamd.conf. |
95d401c4 |
##
|
c6dbfbcb |
# Comment or remove the line below.
Example
# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options) |
95d401c4 |
#DatabaseDirectory /var/lib/clamav
|
a774339c |
# Path to the log file (make sure it has proper permissions) |
c6dbfbcb |
# Default: disabled |
95d401c4 |
#UpdateLogFile /var/log/freshclam.log
# Enable verbose logging. |
c6dbfbcb |
# Default: disabled |
95d401c4 |
#LogVerbose
|
8b8865d7 |
# Use system logger (can work together with UpdateLogFile). |
c6dbfbcb |
# Default: disabled |
8b8865d7 |
#LogSyslog
|
c695dab4 |
# Specify the type of syslog messages - please refer to 'man syslog' |
c6dbfbcb |
# for facility names.
# Default: LOG_LOCAL6 |
c695dab4 |
#LogFacility LOG_MAIL
|
015e31e1 |
# This option allows you to save the process identifier of the daemon |
c6dbfbcb |
# Default: disabled |
015e31e1 |
#PidFile /var/run/freshclam.pid
|
c6dbfbcb |
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options) |
95d401c4 |
#DatabaseOwner clamav
|
c6dbfbcb |
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
# to verify database and software versions. We highly recommend enabling
# this option.
# Default: disabled |
73448085 |
DNSDatabaseInfo current.cvd.clamav.net |
3e92581e |
|
c6dbfbcb |
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# Default: There is no default, which results in an error when running freshclam
#DatabaseMirror db.XY.clamav.net
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing. |
95d401c4 |
DatabaseMirror database.clamav.net |
3160b57a |
# How many attempts to make before giving up. |
c6dbfbcb |
# Default: 3 (per mirror)
#MaxAttempts 5 |
95d401c4 |
|
c6dbfbcb |
# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24 |
95d401c4 |
|
3160b57a |
# Proxy settings |
c6dbfbcb |
# Default: disabled |
95d401c4 |
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass
|
3160b57a |
# Send the RELOAD command to clamd. |
c6dbfbcb |
# Default: disabled
#NotifyClamd
# By default it uses the hardcoded configuration file but you can force an
# another one.
#NotifyClamd /config/file/path |
95d401c4 |
|
c6dbfbcb |
# Run command after successful database update.
# Default: disabled |
95d401c4 |
#OnUpdateExecute command
|
c6dbfbcb |
# Run command when database update process fails.
# Default: disabled |
95d401c4 |
#OnErrorExecute command |