1
.\" Manual page created by Magnus Ekdahl and Thomas Lamy
2
.TH "freshclam.conf" "5" "September 27, 2004" "Thomas Lamy" "Clam AntiVirus"
5
\fBfreshclam.conf\fR \- Configuration file for Clam AntiVirus Database Updater
8
The file freshclam.conf configures the Clam AntiVirus Database Updater, freshclam(1).
10
The file consists of comments and options with arguments. Each line that starts with a hash (\fB#\fR) symbol is a comment. Options and arguments are case sensitive and of the form \fBOption Argument\fR. The (possibly optional) arguments are of the following types:
13
String without blank characters.
16
Size in bytes. You can use 'M' or 'm' modifiers for megabytes and 'K' or 'k' for kilobytes.
22
When an option is not used (hashed or doesn't exist in the configuration file) freshclam takes a default action.
25
If this option is set freshclam will not run.
27
\fBDatabaseOwner STRING\fR
28
When started by root, drop privileges to a specified user.
32
\fBAllowSupplementaryGroups\fR
33
Initialize supplementary group access (freshclam must be started by root).
37
\fBDatabaseDirectory STRING\fR
38
Path to a directory containing database files.
43
Number of database checks per day.
47
\fBUpdateLogFile STRING\fR
48
Enable logging to a specified file. Highly recommended.
53
Enable logging to Syslog. May be used in combination with UpdateLogFile.
58
Specify the type of syslog messages \- please refer to 'man syslog' for facility names.
63
This option allows you to save the process identifier of the daemon.
68
Enable verbose logging.
72
\fBDNSDatabaseInfo STRING\fR
73
This directive enables database and software version verification through DNS TXT records.
75
Default: enabled, pointing to current.cvd.clamav.net
77
\fBDatabaseMirror STRING\fR
78
Server name where database updates are downloaded from. In order to download the database from the closest mirror you should configure freshclam to use db.xy.clamav.net where xy represents your country code. If this option is given multiple times, freshclam(1) tries them in the order given. It's strongly recommended that you use db.xy.clamav.net as the first mirror and database.clamav.net as the second.
80
Default: database.clamav.net
83
Freshclam(1) tries every mirror this number of times before switching to the next mirror.
85
Default: 3 (per mirror)
87
\fBHTTPProxyServer STR\fR, \fBHTTPProxyPort NUM\fR
88
Use given proxy server and TCP port for database downloads.
90
\fBHTTPProxyUsername STR\fR,\fBHTTPProxyPassword STR\fR
91
Proxy usage is authenticated through given username and password.
93
Default: no proxy authentication
95
\fBLocalIPAddress IP\fR
96
Use \fBIP\fR as client address for downloading databases. Useful for multi homed systems.
98
Default: Use OS\'es default outgoing IP address.
100
\fBNotifyClamd STRING\fR
101
Notify a running clamd(8) to reload it\'s database after a download has occured. Optionally a clamd.conf(5) file location may be given to tell freshclam(1) how to communicate with clamd(8).
103
Default: The default is to not notify clamd. See clamd.conf(5)\'s option SelfCheck for how clamd(8) handles database updates in this case.
105
\fBOnUpdateExecute STRING\fR
106
Execute this command after the database has been successfully updated.
110
\fBOnErrorExecute STRING\fR
111
Execute this command after a database update has failed.
115
While not reasonable, any configuration option from clamd.conf(5) may be given.
118
@CFGDIR@/freshclam.conf
121
Thomas Lamy <thomas.lamy@netwake.de>
124
freshclam(1), clamd.conf(5), clamd(8), clamscan(1)