summaryrefslogtreecommitdiff
blob: 7edf089b5dee19730f00da20832db33565d3fb1f (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# This is the SAVAPI scanner backend configuration file.
# It is used to set values for scanner specific
# options.

# ---------------------------------------------------------------------
# SocketPermissions [mode]
#
# The permissions of the scanner backend's socket.

SocketPermissions 0660


# ---------------------------------------------------------------------
# ListenAddress [address]
#
# The socket on which the scanner will listen for scan requests.
#
# IMPORTANT:
#
# When changing this option, you also have to change the option
# "ScannerListenAddress" in MailGate's configuration file
# (default /etc/avmailgate.conf).

ListenAddress unix:%AVSAVAPISOCKET%


# --------------------------------------------------------------------
# User [user]
#
# The user the scanner runs as.
#
# IMPORTANT:
#
# When changing this option, you also have to change the option
# "User" in MailGate's configuration file
# (default /etc/avmailgate.conf). Changing this option has several
# side effects with MailGate. You have to make sure that all
# directories and files are still accessible to this user.
# Please see the file "MANUAL" in the package for details.

User %AVUSER%


# --------------------------------------------------------------------
# Group [group]
#
# The group the scanner runs as.
#
# IMPORTANT:
#
# When changing this option, you also have to change the option
# "Group" in MailGate's configuration file
# (default /etc/avmailgate.conf). Changing this option has several
# side effects with MailGate. You have to make sure that all
# directories and files are still accessible to this user.
# Please see the file "MANUAL" in the package for details.

Group %AVGROUP%


# --------------------------------------------------------------------
# UseSavapiProxy [0|1] 
#
# The proxy feature in SAVAPI performs scans more efficiently
# by using and reusing a prepared pool of scanners.  While this
# pool increases throughput this feature requires the pool size
# to be wisely chosen -- too many scanners will put load on the
# machine without gaining more performance, too few scanners may
# have the SAVAPI using applications wait unnecessarily.
#
# Default: UseSavapiProxy 0

UseSavapiProxy 1

# --------------------------------------------------------------------
# PoolScanners [integer]
#
# The number of prepared AntiVir scanners in the pool.
# See option "UseSavapiProxy".
#
# Default: PoolScanners 24

PoolScanners 24

# --------------------------------------------------------------------
# PoolConnections [integer]
#
# The maximum number of simultaneous allowed connections
# from Avira MailGate to the scanner pool.
#
# Default: PoolConnections 8

PoolConnections 8

# --------------------------------------------------------------------
# SyslogFacility [facility]
#
# The facility that is used to when logging to syslog.

SyslogFacility daemon


# --------------------------------------------------------------------
# ReportLevel [integer]
#
# The report level sets the log verbosity of the scanner backend.
# Available values:
#
# 0 Log errors
# 1 Log errors and alerts
# 2 Log errors, alerts and warnings
# 3 Log errors, alerts, warnings and debug messages
#
# ("alerts" is information about potential malicious code).
#
# Default: 0

ReportLevel 2


# --------------------------------------------------------------------
# ScanTemp [path]
#
# The directory used by the scanner to store temporary files like
# extracted files from archives.
# It's also used for other temporary files like lock files.
#
# NOTE:
#
# The scanner backend does not recognize the environment variable
# "TMPDIR".
#
# IMPORTANT:
#
# You should also change the option "TemporaryDir" in MailGate's
# configuration file (default /etc/avmailgate.conf) when changing the
# option "ScanTemp".
# You're then sure that both components use the same temporary
# directory.

ScanTemp %AVTMPDIR%


# --------------------------------------------------------------------
# LogFileName [path]
#
# Path to a specific log file.

# Default: LogFileName /path/to/logfile