## ## $Cambridge: hermes/conf/clamav/etc/clamd.conf,v 1.9 2010/07/01 12:46:33 fanf2 Exp $ ## # clamav uses LOCAL6 - see the syslog.conf for ppsw and canvas LogSyslog yes LogVerbose yes PidFile /spool/clamav/clamd/pid # See /opt/exim/etc/configure LocalSocket /spool/clamav/clamd/sock FixStaleSocket yes DatabaseDirectory /spool/clamav/db TemporaryDirectory /spool/clamav/tmp # clamav is built to run as "virus", but we want to give clamd access # to the temporary files created by exim in its spool directory # which has restrictive perms. # (freshclam and the database are owned by the virus user) User exim # Check for updated signatures every 10 minutes SelfCheck 600 # Note: the default message size limit for data STREAMed to clamd is # smaller than ppswitch's message size limits, but this is OK because # exim only asks clamd to scan named files. # #StreamMaxLength 10M # Files larger than this will be ignored. Same as the message size limit. # MaxFileSize 100M # Extract at most this much from an archive. # #MaxScanSize 100M FollowDirectorySymlinks no FollowFileSymlinks no # Possibly unwanted applications and other heuristics # DetectPUA no PhishingScanURLs no # EOF