summarylogtreecommitdiffstats
path: root/clamd_mod.conf
diff options
context:
space:
mode:
Diffstat (limited to 'clamd_mod.conf')
-rw-r--r--clamd_mod.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/clamd_mod.conf b/clamd_mod.conf
new file mode 100644
index 000000000000..64ddae7d6e14
--- /dev/null
+++ b/clamd_mod.conf
@@ -0,0 +1,50 @@
+#
+# To enable clamd 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 clamd_mod.conf
+#
+
+# Module: clamd_mod
+# Description:
+# This is an addon module for the antivirus service (virus_scan) which
+# adds support for the open source antivirus clamav, using the clamd
+# daemon.
+#
+# Example:
+# Module common clamav_mod.so
+#
+
+# Load the clamd_mod module:
+Module common clamd_mod.so
+
+# TAG: clamd_mod.ClamdSocket
+# Format: clamd_mod.ClamdSocket path
+# Description:
+# The path of the clamd socket to use
+# Default:
+# clamd_mod.ClamdSocket /var/run/clamav/clamd.ctl
+clamd_mod.ClamdSocket /var/lib/clamav/clamd.sock
+
+# TAG: clamd_mod.ClamdHost
+# Format: clamd_mod.ClamdHost host
+# Description:
+# The host to be used to connect to Clamd if a ClamdPort is specified.
+# Default:
+# clamd_mod.ClamdHost 127.0.0.1
+
+# TAG: clamd_mod.ClamdPort
+# Format: clamd_mod.ClamdPort port
+# Description:
+# The port to be used to connect to Clamd. If specified
+# TCP connection to port "port" will be used instead of ClamdSocket.
+# When you are using TCP communication with clamd please be sure
+# that the filesystem permissions allow clamd to scan files created
+# by clamd_mod module.
+# The clamd_mod module create files with read permissions to running
+# c-icap process owner and group.
+# Default:
+# clamd_mod.ClamdPort None, ClamdSocket is used.
+
+# End module: clamd_mod
+