# $Id$ # # Sample /usr/local/etc/clamav.conf for Clam AntiVirus 0.60. # Don't fork into background. Useful in debugging. #Foreground LogSyslog #LogVerbose #LogTime # run compatible with MIMEDefang user User defang PidFile /var/spool/MIMEDefang/clamd.pid LocalSocket /var/spool/MIMEDefang/clamd.sock MaxThreads 5 #MaxConnectionQueueLength 15 MaxDirectoryRecursion 15 # should be set slightly lower than MIMEDefang "busy time" timeout? look # for -b option or MX_BUSY in the mimedefang startup script, and also # compare with the sendmail.mc INPUT_MAIL_FILTER timeouts used by # sendmail. ThreadTimeout 295 # how often (seconds) to check virus definitions for changes #SelfCheck 900 ScanMail FollowDirectorySymlinks FollowFileSymlinks # TODO remove this! Newer versions do not use this StreamSaveToDisk StreamMaxLength 15M # peek into archives for viruses (potential for DoS conditions # from malicious archive bundles). ScanArchive ArchiveMaxFileSize 15M ArchiveMaxRecursion 5 ArchiveMaxFiles 1500 # if low memory system, try this to save on gzip memory usage? #ArchiveLimitMemoryUsage