2 ## Example config file for freshclam
3 ## Please read the freshclam.conf(5) manual before editing this file.
4 ## This file may be optionally merged with clamd.conf.
7 # Path to the database directory.
8 # WARNING: It must match clamd.conf's directive!
9 # Default: hardcoded (depends on installation options)
10 #DatabaseDirectory /var/lib/clamav
12 # Path to the log file (make sure it has proper permissions)
14 #UpdateLogFile /var/log/freshclam.log
16 # Enable verbose logging.
20 # Use system logger (can work together with UpdateLogFile).
24 # Specify the type of syslog messages - please refer to 'man syslog'
29 # This option allows you to save the process identifier of the daemon
31 PidFile /var/run/clamav/freshclam.pid
33 # By default when started freshclam drops privileges and switches to the
34 # "clamav" user. This directive allows you to change the database owner.
35 # Default: clamav (may depend on installation options)
38 # Initialize supplementary group access (freshclam must be started by root).
40 #AllowSupplementaryGroups
42 # Use DNS to verify virus database version. Freshclam uses DNS TXT records
43 # to verify database and software versions. With this directive you can change
44 # the database verification domain.
45 # Default: enabled, pointing to current.cvd.clamav.net
46 #DNSDatabaseInfo current.cvd.clamav.net
48 # Uncomment the following line and replace XY with your country
49 # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
50 # Default: There is no default, which results in an error when running freshclam
51 #DatabaseMirror db.XY.clamav.net
53 # database.clamav.net is a round-robin record which points to our most
54 # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
55 # not working. DO NOT TOUCH the following line unless you know what you
57 DatabaseMirror database.clamav.net
59 # How many attempts to make before giving up.
60 # Default: 3 (per mirror)
63 # Number of database checks per day.
64 # Default: 12 (every two hours)
69 #HTTPProxyServer myproxy.com
71 #HTTPProxyUsername myusername
72 #HTTPProxyPassword mypass
74 # Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
75 # multi-homed systems.
76 # Default: Use OS'es default outgoing IP address.
77 #LocalIPAddress aaa.bbb.ccc.ddd
79 # Send the RELOAD command to clamd.
82 # By default it uses the hardcoded configuration file but you can force an
84 #NotifyClamd /config/file/path
86 # Run command after successful database update.
88 #OnUpdateExecute command
90 # Run command when database update process fails.
92 #OnErrorExecute command
94 # Don't fork into background.
98 # Enable debug messages in libclamav.