--- clamav-0.86/etc/clamd.conf.orig 2005-06-19 22:22:03 +0300 +++ clamav-0.86/etc/clamd.conf 2005-06-21 15:45:30 +0300 @@ -1,17 +1,13 @@ ## -## Example config file for the Clam AV daemon +## Config file for the Clam AV daemon ## Please read the clamd.conf(5) manual before editing this file. ## - -# Comment or remove the line below. -Example - # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. # A full path is required. # Default: disabled -#LogFile /tmp/clamd.log +LogFile /var/log/clamav/clamd.log # By default the log file is locked for writing - the lock protects against # running clamd multiple times (if want to run another clamd, please @@ -27,11 +23,11 @@ # and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size # in bytes just don't use modifiers. # Default: 1M -#LogFileMaxSize 2M +LogFileMaxSize 0 # Log time with each message. # Default: disabled -#LogTime +LogTime # Also log clean files. Useful in debugging but drastically increases the # log size. @@ -40,21 +36,21 @@ # Use system logger (can work together with LogFile). # Default: disabled -#LogSyslog +LogSyslog # Specify the type of syslog messages - please refer to 'man syslog' # for facility names. # Default: LOG_LOCAL6 -#LogFacility LOG_MAIL +LogFacility LOG_MAIL # Enable verbose logging. # Default: disabled -#LogVerbose +LogVerbose # This option allows you to save a process identifier of the listening # daemon (main thread). # Default: disabled -#PidFile /var/run/clamd.pid +PidFile /var/run/clamav/clamd.pid # Optional path to the global temporary directory. # Default: system specific (usually /tmp or /var/tmp). @@ -62,14 +58,14 @@ # Path to the database directory. # Default: hardcoded (depends on installation options) -#DatabaseDirectory /var/lib/clamav +DatabaseDirectory /var/lib/clamav # The daemon works in a local OR a network mode. Due to security reasons we # recommend the local mode. # Path to a local socket file the daemon will listen on. # Default: disabled -LocalSocket /tmp/clamd +LocalSocket /var/lib/clamav/clamd.socket # Remove stale socket after unclean shutdown. # Default: disabled @@ -107,7 +103,7 @@ # Maximal number of threads running at the same time. # Default: 10 -#MaxThreads 20 +MaxThreads 50 # Waiting for data from a client socket will timeout after this time (seconds). # Value of 0 disables the timeout. @@ -141,11 +137,11 @@ # Run as a selected user (clamd must be started by root). # Default: disabled -#User clamav +User mail # Initialize supplementary group access (clamd must be started by root). # Default: disabled -#AllowSupplementaryGroups +AllowSupplementaryGroups # Stop daemon when libclamav reports out of memory condition. #ExitOnOOM @@ -179,7 +175,7 @@ # required for decompression of popular executable packers such as UPX, FSG, # and Petite. # Default: enabled -#ScanPE +ScanPE # With this option clamav will try to detect broken executables and mark # them as Broken.Executable @@ -193,7 +189,7 @@ # This option enables scanning of Microsoft Office document macros. # Default: enabled -#ScanOLE2 +ScanOLE2 ## ## Mail files @@ -201,7 +197,7 @@ # Enable internal e-mail scanner. # Default: enabled -#ScanMail +ScanMail # If an email contains URLs ClamAV can download and scan them. # WARNING: This option may open your system to a DoS attack. @@ -216,7 +212,7 @@ # Perform HTML normalisation and decryption of MS Script Encoder code. # Default: enabled -#ScanHTML +ScanHTML ## @@ -225,14 +221,14 @@ # ClamAV can scan within archives and compressed files. # Default: enabled -#ScanArchive +ScanArchive # Due to license issues libclamav does not support RAR 3.0 archives (only the # old 2.0 format is supported). Because some users report stability problems # with unrarlib it's disabled by default and you must uncomment the directive # below to enable RAR 2.0 support. # Default: disabled -#ScanRAR +ScanRAR # The options below protect your system against Denial of Service attacks # using archive bombs.