summarylogtreecommitdiffstats
path: root/clamd_mod.conf
blob: 64ddae7d6e14bd6517135bfccdd127e65315c3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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