 |
Index for Section 5 |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
clamd.conf(5)
NAME
clamd.conf - Configuration file for Clam AntiVirus Daemon
DESCRIPTION
clamd.conf configures the Clam AntiVirus daemon, clamd(8).
FILE FORMAT
The file consists of comments and options with arguments. Each line that
starts with a hash (#) symbol is a comment. Options and arguments are case
sensitive and of the form Option Argument. The (possibly optional)
arguments are are of the following types:
STRING
String without blank characters.
SIZE Size in bytes. You can use 'M' or 'm' modifiers for megabytes and 'K'
or 'k' for kilobytes.
NUMBER
Unsigned integer.
DIRECTIVES
When an option is not used (hashed or doesn't exist in the configuration
file) clamd takes a default action.
Example
If this option is set clamd will not run.
LogFile STRING
Enable logging to selected file.
Default: disabled
LogFileUnlock
Disable a system lock that protects against running clamd with a same
configuration file multiple times.
Default: disabled
LogFileMaxSize SIZE
Limit the size of a log file. The logger will be automatically
disabled if the file is greater than SIZE. Value of 0 disables the
limit.
Default: 1M
LogTime
Log time with each message.
Default: disabled
LogClean
Log clean files.
Default: disabled
LogSyslog
Use system logger (can work together with LogFile).
Default: disabled
LogFacility
Specify the type of syslog messages - please refer to 'man syslog' for
facility names.
Default: LOG_LOCAL6
LogVerbose
Enable verbose logging.
Default: disabled
PidFile STRING
Save the process identifier of a listening daemon (main thread) to a
specified file.
Default: disabled
TemporaryDirectory STRING
Optional path to the global temporary directory.
Default: system specific (usually /tmp or /var/tmp).
DatabaseDirectory STRING
Path to a directory containing database files.
Default: /usr/local/share/clamav
LocalSocket STRING
Path to a local (Unix) socket the daemon will listen on.
Default: disabled
FixStaleSocket
Remove stale socket after unclean shutdown.
Default: disabled
TCPSocket NUMBER
TCP port number the daemon will listen on.
Default: disabled
TCPAddr STRING
TCP socket address to bind to. By default clamd binds to INADDR_ANY.
Default: disabled
MaxConnectionQueueLength NUMBER
Maximum length the queue of pending connections may grow to.
Default: 15
MaxThreads NUMBER
Maximal number of threads running at the same time.
Default: 10
ReadTimeout NUMBER
Waiting for data from a client socket will timeout after this time
(seconds).
Default: 120
IdleTimeout NUMBER
Waiting for a new job will timeout after this time (seconds).
Default: 30
MaxDirectoryRecursion NUMBER
Maximal depth directories are scanned at.
Default: 15
FollowDirectorySymlinks
Follow directory symlinks.
Default: disabled
FollowFileSymlinks
Follow regular file symlinks.
Default: disabled
SelfCheck NUMBER
Do internal sanity checks every NUMBER seconds.
Default: 1800
VirusEvent COMMAND
Execute the COMMAND when virus is found. In the command string %v will
be replaced by a virus name.
Default: disabled
ExitOnOOM
Stop deamon when libclamav reports out of memory condition.
Default: disabled
/usr/local/etc/clamd.conf
AUTHOR
Tomasz Kojm <tkojm@clamav.net>
SEE ALSO
clamd(8), clamdscan(1), clamscan(1), freshclam(1), sigtool(1),
clamav-milter(8)
 |
Index for Section 5 |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|