Commit | Line | Data |
---|---|---|
354283bc JB |
1 | ## |
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. | |
5 | ## | |
6 | ||
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 | |
11 | ||
12 | # Path to the log file (make sure it has proper permissions) | |
13 | # Default: disabled | |
14 | #UpdateLogFile /var/log/freshclam.log | |
15 | ||
16 | # Enable verbose logging. | |
17 | # Default: disabled | |
18 | #LogVerbose | |
19 | ||
20 | # Use system logger (can work together with UpdateLogFile). | |
21 | # Default: disabled | |
22 | #LogSyslog | |
23 | ||
24 | # Specify the type of syslog messages - please refer to 'man syslog' | |
25 | # for facility names. | |
26 | # Default: LOG_LOCAL6 | |
27 | #LogFacility LOG_MAIL | |
28 | ||
29 | # This option allows you to save the process identifier of the daemon | |
30 | # Default: disabled | |
31 | PidFile /var/run/clamav/freshclam.pid | |
32 | ||
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) | |
36 | DatabaseOwner clamav | |
37 | ||
38 | # Initialize supplementary group access (freshclam must be started by root). | |
39 | # Default: disabled | |
40 | #AllowSupplementaryGroups | |
41 | ||
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 | |
47 | ||
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 | |
52 | ||
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 | |
56 | # are doing. | |
57 | DatabaseMirror database.clamav.net | |
58 | ||
59 | # How many attempts to make before giving up. | |
60 | # Default: 3 (per mirror) | |
61 | #MaxAttempts 5 | |
62 | ||
63 | # Number of database checks per day. | |
64 | # Default: 12 (every two hours) | |
65 | #Checks 24 | |
66 | ||
67 | # Proxy settings | |
68 | # Default: disabled | |
69 | #HTTPProxyServer myproxy.com | |
70 | #HTTPProxyPort 1234 | |
71 | #HTTPProxyUsername myusername | |
72 | #HTTPProxyPassword mypass | |
73 | ||
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 | |
78 | ||
79 | # Send the RELOAD command to clamd. | |
80 | # Default: disabled | |
81 | #NotifyClamd | |
82 | # By default it uses the hardcoded configuration file but you can force an | |
83 | # another one. | |
84 | #NotifyClamd /config/file/path | |
85 | ||
86 | # Run command after successful database update. | |
87 | # Default: disabled | |
88 | #OnUpdateExecute command | |
89 | ||
90 | # Run command when database update process fails. | |
91 | # Default: disabled | |
92 | #OnErrorExecute command | |
93 | ||
94 | # Don't fork into background. | |
95 | # Default: disabled | |
96 | #Foreground | |
97 | ||
98 | # Enable debug messages in libclamav. | |
99 | # Default: disabled | |
100 | #Debug |