--- etc/clamav.conf Tue Feb 10 23:01:43 2004 +++ etc/clamav.conf Wed Feb 11 11:41:19 2004 @@ -3,14 +3,17 @@ ## Please read the clamav.conf(5) manual before editing this file. ## +## This is a modified version of the default Clam AV config file supplied +## by Tim Jackson, to work on Red Hat systems and in conjunction with his +## RPM packaging at http://www.timj.co.uk/linux/rpms.php # Comment or remove the line below. -Example +# Example # Uncomment this option to enable logging. # LogFile must be writable for the user running the daemon. # Full path is required. -#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,7 +30,7 @@ #LogFileMaxSize 2M # Log time with an each message. -#LogTime +LogTime # Log also clean files. May be useful in debugging but will drastically # increase the log size. @@ -37,11 +40,11 @@ #LogSyslog # Enable verbose logging. -#LogVerbose +LogVerbose # This option allows you to save the process identifier of the listening # daemon (main thread). -#PidFile /var/run/clamd.pid +PidFile /var/run/clamav/clamd.pid # Optional path to the global temporary directory. # Default is system specific - usually /var/tmp or /tmp. @@ -58,19 +61,19 @@ # Path to the local socket. The daemon doesn't change the mode of the # created file (portability reasons). You may want to create it in a directory # which is only accessible for a user running daemon. -LocalSocket /tmp/clamd +# LocalSocket /tmp/clamd # Remove stale socket after unclean shutdown. #FixStaleSocket # TCP port address. -#TCPSocket 3310 +TCPSocket 3310 # TCP address. # By default we bind to INADDR_ANY, probably not wise. # Enable the following to provide some degree of protection # from the outside world. -#TCPAddr 127.0.0.1 +TCPAddr 127.0.0.1 # Maximum length the queue of pending connections may grow to. # Default is 15. @@ -78,15 +81,15 @@ # When activated, input stream (see STREAM command) will be saved to disk before # scanning - this allows scanning within archives. -#StreamSaveToDisk +StreamSaveToDisk # Close the connection if this limit is exceeded. -#StreamMaxLength 10M +StreamMaxLength 10M # Maximal number of a threads running at the same time. # Default is 5, and it should be sufficient for a typical workstation. # You may need to increase threads number for a server machine. -#MaxThreads 10 +MaxThreads 10 # Thread (scanner - single task) will be stopped after this time (seconds). # Default is 180. Value of 0 disables the timeout. SECURITY HINT: Increase the @@ -119,11 +122,11 @@ # Run as selected user (clamd must be started by root). # By default it doesn't drop privileges. -#User clamav +User clamav # Initialize the supplementary group access (for all groups in /etc/group # user is added in. clamd must be started by root). -#AllowSupplementaryGroups +AllowSupplementaryGroups # Don't fork into background. Useful in debugging. #Foreground @@ -136,7 +139,7 @@ ## # Uncomment this option if you are planning to scan mail files. -#ScanMail +ScanMail ## ## Archive support