#
# To enable clamav module in c-icap, copy this file in c-icap
# configuration directory and add the following line at the end of
# c-icap.conf file:
#       Include clamav_mod.conf
#

# Module: clamav_mod
# Description:
#	This is an addon module for the antivirus service (virus_scan) which
#	add support for the open source clamav antivirus.
# Example:
#	Module common clamav_mod.so
#

# Load the clamav_mod module:
Module common clamav_mod.so

# TAG: clamav_mod.TmpDir
# Format: clamav_mod.TmpDir path
# Description:
#	clamav's temporary directory.
# Default:
#	clamav_mod.TmpDir /var/tmp

# TAG: clamav_mod.MaxFilesInArchive
# Format: clamav_mod.MaxFilesInArchive Num
# Description:
#	 Sets the maximum number of files in archive. Used 
#	 by clamav library. Set it to 0 to disable it.
# Default:
#	clamav_mod.MaxFilesInArchive 0

# TAG: clamav_mod.MaxFileSizeInArchive
# Format: clamav_mod.MaxFileSizeInArchive Bytes
# Description:
#	 Sets the maximal archived file size. Used by clamav 
#	 library. Set it to 0 to disable it.
# Default:
#	clamav_mod.MaxFileSizeInArchive 100M

# TAG: clamav_mod.MaxScanSize
# Format: clamav_mod.MaxScanSize Bytes
# Description:
#	 Sets the maximum amount of data to be  scanned  for  each  input
#        file. Used by clamav library. Set it to 0 to disable it.
# Default:
#       clamav_mod.MaxScanSize 100M
clamav_mod.MaxScanSize 100M

# TAG: clamav_mod.MaxRecLevel
# Format: clamav_mod.MaxRecLevel level
# Description:
#	 The maximal recursion level. Used by clamav library.
#	 Set it to 0 to disable it.
# Default:
#	clamav_mod.MaxRecLevel 5

# TAG: clamav_mod.DetectPUA
# Format: clamav_mod.DetectPUA on|off
# Description:
#	Detect Possibly Unwanted Applications.
# Default:
#	clamav_mod.DetectPUA off

# TAG: clamav_mod.ExcludePUA
# Format: clamav_mod.ExcludePUA cat1 cat2 ...
# Description:
#	Exclude a specific PUA category. This directive can be used 
#	multiple  times. See http://www.clamav.net/support/pua for the 
#	coplete list of PUA categories.
# Default:
#	none

# TAG: clamav_mod.IncludePUA cat1 cat2 ...
# Format: clamav_mod.IncludePUA 
# Description:
#	Only include a specific PUA category. This directive can be used
#	multiple  times.  See  http://www.clamav.net/support/pua for the
#	complete list of PUA categories.
# Default:
#	none

# TAG: clamav_mod.OfficialDatabaseOnly
# Format: clamav_mod.OfficialDatabaseOnly on|off
# Description:
#	Only load  the  official  signatures  published  by  the  ClamAV
#	project.
# Default:
#       clamav_mod.OfficialDatabaseOnly off

# TAG: clamav_mod.ArchiveBlockEncrypted
# Format: clamav_mod.ArchiveBlockEncrypted on|off
# Description:
#	Mark encrypted archives as viruses (Encrypted.Zip, Encrypted.RAR).
# Default:
#       clamav_mod.ArchiveBlockEncrypted off

# TAG: clamav_mod.HeuristicScanPrecedence
# Format: clamav_mod.HeuristicScanPrecedence on|off
# Description:
#	Allow heuristic match to take precedence.  When  enabled,  if  a
#	heuristic   scan  (such  as  phishingScan)  detects  a  possible
#	virus/phishing it will stop scanning  immediately.  Recommended,
#	saves  CPU  scan-time.
# Default:
#       clamav_mod.HeuristicScanPrecedence off

# TAG: clamav_mod.OLE2BlockMacros
# Format: clamav_mod.OLE2BlockMacros on|off
# Description:
#	With this option enabled OLE2 files with VBA macros, which  were
#	not   detected   by   signatures  will  be  marked  as  "Heuris‐
#	tics.OLE2.ContainsMacros".
# Default:
#       clamav_mod.OLE2BlockMacros off

# TAG: clamav_mod.PhishingAlwaysBlockSSLMismatch
# Format: clamav_mod.PhishingAlwaysBlockSSLMismatch on|off
# Description:
#	Always block SSL mismatches in URLs, even if the  URL  isn't  in
#	the database. This can lead to false positives.
# Default:
#       clamav_mod.PhishingAlwaysBlockSSLMismatch off

# TAG: clamav_mod.PhishingAlwaysBlockCloak
# Format: clamav_mod.PhishingAlwaysBlockCloak on|off
# Description:
#	Always  block  cloaked URLs, even if URL isn't in database. This
#	can lead to false positives
# Default:
#       clamav_mod.PhishingAlwaysBlockCloak off

# End module: clamav_mod

