0d98d74c |
##
## Example config file for freshclam |
511eef51 |
## Please read the freshclam.conf(5) manual before editing this file. |
0d98d74c |
##
|
511eef51 |
# 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) |
0d98d74c |
#DatabaseDirectory /var/lib/clamav
|
8906a893 |
# Path to the log file (make sure it has proper permissions) |
511eef51 |
# Default: disabled |
0d98d74c |
#UpdateLogFile /var/log/freshclam.log
# Enable verbose logging. |
5c4d94a9 |
# Default: no
#LogVerbose yes |
0d98d74c |
|
5b68a87c |
# Use system logger (can work together with UpdateLogFile). |
5c4d94a9 |
# Default: no
#LogSyslog yes |
5b68a87c |
|
096e5bbd |
# Specify the type of syslog messages - please refer to 'man syslog' |
511eef51 |
# for facility names.
# Default: LOG_LOCAL6 |
096e5bbd |
#LogFacility LOG_MAIL
|
32a2b908 |
# This option allows you to save the process identifier of the daemon |
511eef51 |
# Default: disabled |
9bd73bcb |
#PidFile /var/run/freshclam.pid
|
511eef51 |
# 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) |
0d98d74c |
#DatabaseOwner clamav
|
a3bc3260 |
# Initialize supplementary group access (freshclam must be started by root). |
5c4d94a9 |
# Default: no
#AllowSupplementaryGroups yes |
a3bc3260 |
|
511eef51 |
# Use DNS to verify virus database version. Freshclam uses DNS TXT records |
e1b40b1b |
# to verify database and software versions. With this directive you can change
# the database verification domain. |
5c4d94a9 |
# WARNING: Do not touch it unless you're configuring freshclam to use your
# own database verification domain.
# Default: current.cvd.clamav.net |
e1b40b1b |
#DNSDatabaseInfo current.cvd.clamav.net |
881069d7 |
|
511eef51 |
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
#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. |
0d98d74c |
DatabaseMirror database.clamav.net |
b25cd8c5 |
# How many attempts to make before giving up. |
511eef51 |
# Default: 3 (per mirror)
#MaxAttempts 5 |
0d98d74c |
|
511eef51 |
# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24 |
0d98d74c |
|
b25cd8c5 |
# Proxy settings |
511eef51 |
# Default: disabled |
0d98d74c |
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass
|
db7875bc |
# If your servers are behind a firewall/proxy which applies User-Agent
# filtering you can use this option to force the use of a different
# User-Agent header.
# Default: clamav/version_number
#HTTPUserAgent SomeUserAgentIdString
|
e1e9c690 |
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
# multi-homed systems. |
0539b2a8 |
# Default: Use OS'es default outgoing IP address.
#LocalIPAddress aaa.bbb.ccc.ddd
|
b25cd8c5 |
# Send the RELOAD command to clamd. |
5c4d94a9 |
# Default: no
#NotifyClamd /path/to/clamd.conf |
0d98d74c |
|
511eef51 |
# Run command after successful database update.
# Default: disabled |
0d98d74c |
#OnUpdateExecute command
|
511eef51 |
# Run command when database update process fails.
# Default: disabled |
0d98d74c |
#OnErrorExecute command |
55ae06a5 |
|
a6590a3d |
# Run command when freshclam reports outdated version. |
46c43611 |
# In the command string %v will be replaced by the new version number. |
a6590a3d |
# Default: disabled
#OnOutdatedExecute command
|
55ae06a5 |
# Don't fork into background. |
5c4d94a9 |
# Default: no
#Foreground yes |
55ae06a5 |
# Enable debug messages in libclamav. |
5c4d94a9 |
# Default: no
#Debug yes |
a0b09ab7 |
# Timeout in seconds when connecting to database server. |
0c338fbc |
# Default: 30
#ConnectTimeout 60 |
a0b09ab7 |
# Timeout in seconds when reading from database server.
# Default: 30
#ReceiveTimeout 60 |