freshclam.conf(5)

NAME

freshclam.conf - Configuration file for Clam AntiVirus Database Updater

DESCRIPTION

The file freshclam.conf configures the Clam AntiVirus Database Updater, freshclam(1).

FILE FORMAT
The file consists of comments and options with arguments. Each line that starts with a hash (#) symbol is ignored. Everything is case sensitive. Options are of the form Option Argument, some options don't use arguments. There are few types of the arguments:

STRING
    String without blank characters.

SIZE
    Size in bytes. You can use a 'M' or 'm' modifiers for megabytes and a 'K' or 'k' for kilobytes.

NUMBER
    Unsigned integer.

OPTIONS

When some option is not used (hashed or doesn't exist in the configuration file), freshclam takes a default action.

Example
    When this option is set, freshclam will stop and ask you to modify the configuration file.

DatabaseOwner STRING
    When started by root, drop privileges to a specified user. Default is

DatabaseDirectory STRING
    One can change the default database directory here. Note that clamd and clamscan expect the hardcoded path varlibclamav.

Checks NUM
    Number of new database checks per day. Default is to check 6 times ery 4 hours.

UpdateLogFile STRING
    Enable logging to a specified file. Highly recommended.
    Default: disabled.

LogSyslog
    Enable logging to Syslog. May be used in combination with UpdateLogFile
    Default: disabled.

LogVerbose
    Enable verbose logging.

DatabaseMirror STRING
    Server name where database updates are downloaded from. The default is database.clamav.net, which points to all official mirrors. If this option is given multiple times, freshclam(1) tries them in the order given if one download fails.
    There is no default, which results in an error when running freshclam(1).

MaxAttempts NUM
    Freshclam(1) tries every mirror this number of times before switching to the next mirror. Default is to try once per mirror.

HTTPProxyServer STR, HTTPProxyPort NUM
    Use given proxy server and TCP port for database downloads.

HTTPProxyUsername STR,HTTPProxyPassword STR
    Proxy usage is authenticated through given username and password. Default: no proxy authentication

NotifyClamd
    Notify a running clamd(8) to reload it's database after a download has occured. Optionally a clamav.conf(5) file location may be given to tell freshclam(1) how to communicate with clamd(8). The default is to not notify clamd. See clamav.conf(5)'s option SelfCheck for how clamd(8) handles database updates in this case.

OnUpdateExecute STRING
    Execute this command after the database has been successfully updated.

OnErrorExecute
    Execute this command after a database update has failed.

NOTE
While not reasonable, any configuration option from clamav.conf(5) may be given.

FILES

/usr/local/etc/freshclam.conf
/etc/clamav/freshclam.conf

AUTHOR

Thomas Lamy <thomas.lamy@netwake.de>

SEE ALSO

freshclam(1), clamav.conf(5), clamd(8), clamscan(1)