0d98d74c |
##
## Example config file for freshclam |
ac4e01f9 |
## Please read the clamd.conf(5) manual before editing this file.
## This file may be optionally merged with clamd.conf. |
0d98d74c |
##
|
ac4e01f9 |
# It must match clamd.conf's directive! |
0d98d74c |
#DatabaseDirectory /var/lib/clamav
|
8906a893 |
# Path to the log file (make sure it has proper permissions) |
0d98d74c |
#UpdateLogFile /var/log/freshclam.log
# Enable verbose logging.
#LogVerbose
|
5b68a87c |
# Use system logger (can work together with UpdateLogFile).
#LogSyslog
|
096e5bbd |
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names. Default is LOG_LOCAL6.
#LogFacility LOG_MAIL
|
9bd73bcb |
# This option allows you to save the process identifier of the daemon
#PidFile /var/run/freshclam.pid
|
b25cd8c5 |
# By default when freshclam is started by root it drops privileges and
# switches to the "clamav" user. You can change this behaviour here. |
0d98d74c |
#DatabaseOwner clamav
|
881069d7 |
# Use DNS to verify virus database version. |
34f1f7dd |
DNSDatabaseInfo current.cvd.clamav.net |
881069d7 |
|
b25cd8c5 |
# The main database mirror is database.clamav.net (this is a round-robin
# DNS that points to many mirrors on the world) and in most cases you
# SHOULD NOT change it. |
0d98d74c |
DatabaseMirror database.clamav.net |
b25cd8c5 |
# How many attempts to make before giving up. |
0d98d74c |
MaxAttempts 3
|
b25cd8c5 |
# How often check for a new database. We suggest checking for it every
# two hours.
Checks 12 |
0d98d74c |
|
b25cd8c5 |
# Proxy settings |
0d98d74c |
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass
|
b25cd8c5 |
# Send the RELOAD command to clamd. |
0d98d74c |
#NotifyClamd [/optional/config/file/path]
|
b25cd8c5 |
# Run command after database update. |
0d98d74c |
#OnUpdateExecute command
|
b25cd8c5 |
# Run command if database update failed. |
0d98d74c |
#OnErrorExecute command |