2
## Example config file for freshclam
3
## Please read the freshclam.conf(5) manual before editing this file.
7
# Comment or remove the line below.
10
# Path to the database directory.
11
# WARNING: It must match clamd.conf's directive!
12
# Default: hardcoded (depends on installation options)
13
#DatabaseDirectory /var/lib/clamav
15
# Path to the log file (make sure it has proper permissions)
17
#UpdateLogFile /var/log/freshclam.log
19
# Maximum size of the log file.
20
# Value of 0 disables the limit.
21
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
22
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
23
# in bytes just don't use modifiers.
27
# Log time with each message.
31
# Enable verbose logging.
35
# Use system logger (can work together with UpdateLogFile).
39
# Specify the type of syslog messages - please refer to 'man syslog'
44
# This option allows you to save the process identifier of the daemon
46
#PidFile /var/run/freshclam.pid
48
# By default when started freshclam drops privileges and switches to the
49
# "clamav" user. This directive allows you to change the database owner.
50
# Default: clamav (may depend on installation options)
53
# Initialize supplementary group access (freshclam must be started by root).
55
#AllowSupplementaryGroups yes
57
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
58
# to verify database and software versions. With this directive you can change
59
# the database verification domain.
60
# WARNING: Do not touch it unless you're configuring freshclam to use your
61
# own database verification domain.
62
# Default: current.cvd.clamav.net
63
#DNSDatabaseInfo current.cvd.clamav.net
65
# Uncomment the following line and replace XY with your country
66
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
67
#DatabaseMirror db.XY.clamav.net
69
# database.clamav.net is a round-robin record which points to our most
70
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
71
# not working. DO NOT TOUCH the following line unless you know what you
73
DatabaseMirror database.clamav.net
75
# How many attempts to make before giving up.
76
# Default: 3 (per mirror)
79
# With this option you can control scripted updates. It's highly recommended
84
# By default freshclam will keep the local databases (.cld) uncompressed to
85
# make their handling faster. With this option you can enable the compression;
86
# the change will take effect with the next database update.
88
#CompressLocalDatabase no
90
# Number of database checks per day.
91
# Default: 12 (every two hours)
96
#HTTPProxyServer myproxy.com
98
#HTTPProxyUsername myusername
99
#HTTPProxyPassword mypass
101
# If your servers are behind a firewall/proxy which applies User-Agent
102
# filtering you can use this option to force the use of a different
104
# Default: clamav/version_number
105
#HTTPUserAgent SomeUserAgentIdString
107
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
108
# multi-homed systems.
109
# Default: Use OS'es default outgoing IP address.
110
#LocalIPAddress aaa.bbb.ccc.ddd
112
# Send the RELOAD command to clamd.
114
#NotifyClamd /path/to/clamd.conf
116
# Run command after successful database update.
118
#OnUpdateExecute command
120
# Run command when database update process fails.
122
#OnErrorExecute command
124
# Run command when freshclam reports outdated version.
125
# In the command string %v will be replaced by the new version number.
127
#OnOutdatedExecute command
129
# Don't fork into background.
133
# Enable debug messages in libclamav.
137
# Timeout in seconds when connecting to database server.
141
# Timeout in seconds when reading from database server.