~ubuntu-branches/ubuntu/dapper/clamav/dapper-backports

« back to all changes in this revision

Viewing changes to debian/clamav-milter.templates

  • Committer: Bazaar Package Importer
  • Author(s): Imre Gergely
  • Date: 2009-09-03 18:59:26 UTC
  • mfrom: (9.4.10 jaunty-proposed)
  • Revision ID: james.westby@ubuntu.com-20090903185926-92kh3x3gqja2vlya
Tags: 0.95.2+dfsg-4ubuntu1.1~dapper1
* Source backport for clamav (LP: 423793)
  - Drop deny rule in freshclam apparmor profile since deny is not
    supported in Dapper's apparmor
  - Drop dh_lintian from debian/rules and adjust version of debhelper
    build-dep
  - Drop build-dep and libclamav-dev depends on non-existent libtommath-dev
  - Changed Section to 'utils' for clamav-dbg package
  - Drop versioning of lsb-base depends
  - Build with GCC 3.4 to work around known bugs in 4.1
  - Drop po template file comments to work around bugs in the Dapper build
    system   
  - Switch back to older dpkg-dev Source-Version style
  - Restore build-dep on dpkg-dev
* Updated clamd apparmor profile
  - debian/usr.sbin.clamd: added support for havp (LP: #423669)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
_Description: Handle the configuration file automatically?
5
5
 Some options must be configured for clamav-milter.
6
6
 .
7
 
 The ClamAV suite won't work if it isn't configured. If you do not
 
7
 It won't work if it isn't configured. If you do not
8
8
 configure it automatically, you'll have to configure
9
 
 /etc/clamav/clamav-milter.conf manually or run 'dpkg-reconfigure clamav-milter'
 
9
 /etc/clamav/clamav-milter.conf manually or run "dpkg-reconfigure clamav-milter"
10
10
 later. In any case, manual changes in /etc/clamav/clamav-milter.conf will
11
11
 be respected.
12
12
 
13
13
Template: clamav-milter/MilterSocket
14
14
Type: string
15
15
Default: /var/run/clamav/milter.ctl
16
 
_Description: Define the interface through to communicate with sendmail:
17
 
 Possible formats are:
18
 
 .
19
 
 Unix domain socket: [[unix|local]:]/path/to/file
20
 
 .
21
 
 IPv4 socket: inet:port@[hostname|ip-address]
22
 
 .
23
 
 IPv6 socket: inet6:port@[hostname|ip-address]
 
16
_Description: Communication interface with Sendmail:
 
17
 Please choose the method that should be used by clamav-milter to
 
18
 communicate with Sendmail. The following formats can be used:
 
19
  - Unix domain socket: [[unix|local]:]/path/to/file
 
20
  - IPv4 socket       : inet:port@[hostname|ip-address]
 
21
  - IPv6 socket       : inet6:port@[hostname|ip-address]
24
22
 
25
23
Template: clamav-milter/FixStaleSocket
26
24
Type: boolean
32
30
Default: clamav
33
31
_Description: User to run clamav-milter as:
34
32
 It is recommended to run the ClamAV programs as a non-privileged user.
35
 
 This will work with most MTAs with a little tweaking, but if you want to
36
 
 use clamd for filesystem scans, running as root is probably unavoidable.
 
33
 This will work with most MTAs with a little tweaking.
 
34
 .
37
35
 Please see README.Debian in the clamav-base package for details.
38
36
 
39
37
Template: clamav-milter/AddGroups
40
38
Type: string
41
39
_Description: Groups for clamav-milter (space-separated):
42
40
 By default, clamav-milter runs as a non-privileged user. If you need
43
 
 clamav-milter to be able to access files owned by another user (e.g., in
44
 
 combination with an MTA), then you will need to add clamav to the group for
45
 
 that piece of software. Please see README.Debian in the clamav-base package for
 
41
 clamav-milter to be able to access files owned by another user (for
 
42
 instance when it is used in combination with an MTA), the user
 
43
 running clamav-milter need to be added to the relevant group(s).
 
44
 .
 
45
 Please see README.Debian in the clamav-base package for
46
46
 details.
47
47
 
48
48
Template: clamav-milter/ReadTimeout
49
49
Type: string
50
50
Default: 120
51
 
_Description: Waiting for data from clamd will timeout after this time (seconds):
52
 
 Set to a value of '0' to disable the timeout.
 
51
_Description: Wait timeout for data coming from clamd:
 
52
 Please enter the delay (in seconds) before clamav-milter times out when it is
 
53
 waiting for incoming data from clamd.
 
54
 .
 
55
 Choosing "0" will disable this timeout.
53
56
 
54
57
Template: clamav-milter/Foreground
55
58
Type: boolean
56
59
Default: false
57
 
_Description: Stay in foreground (don't fork)?
 
60
_Description: Should clamav-milter stay in foreground (not forking)?
58
61
 
59
62
Template: clamav-milter/Chroot
60
63
Type: string
61
64
_Description: Chroot to directory:
62
 
 Chrooting is performed just after reading the config file and before dropping
63
 
 privileges. An empty value means don't chroot.
 
65
 Clamav-milter can run in a chroot jail. It will enter it after reading
 
66
 the configuration file and before dropping root privileges.
 
67
 .
 
68
 If this field is left empty, no chrooting will occur.
64
69
 
65
70
Template: clamav-milter/PidFile
66
71
Type: string
67
72
Default: /var/run/clamav/clamav-milter.pid
68
73
_Description: PID file:
69
 
 This option allows you to save a process identifier of the listening daemon
70
 
 (main thread).
 
74
 Please specify the process identifier file location for clamav-milter's
 
75
 listening daemon (main thread).
71
76
 
72
77
Template: clamav-milter/TemporaryDirectory
73
78
Type: string
74
79
Default: /tmp
75
 
_Description: Optional path to the global temporary directory:
76
 
  If unset, $TMPDIR and $TEMP will be honored.
 
80
_Description: Temporary directory path:
 
81
 Please specify the directory for clamav-milter's temporary files.
 
82
 If unset, $TMPDIR and $TEMP will be honored.
77
83
 
78
84
Template: clamav-milter/ClamdSocket
79
85
Type: string
80
86
Default: unix:/var/run/clamav/clamd.ctl
81
 
_Description: Define the clamd socket to connect to for scanning:
82
 
 To refer to a local unix socket using a absolute path, use unix:path (e.g.,
83
 
 unix:/var/run/clamd/clamd.socket). A local or remote TCP socket is specified
84
 
 using the tcp:host:port syntax. The host can be a hostname or an ip address;
85
 
 the ":port" field is only required for IPv6 addresses, otherwise it defaults to
86
 
 3310 (e.g., tcp:192.168.0.1).
 
87
_Description: Clamd socket to connect to for scanning:
 
88
 Please specify the socket to use to connect to the ClamAV daemon for
 
89
 scanning purposes. Possible choices are:
 
90
  - a local unix socket using an absolute path, in "unix:path" format
 
91
    (for example: unix:/var/run/clamd/clamd.socket);
 
92
  - a local or remote TCP socket in "tcp:host:port" format (for example:
 
93
    tcp:192.168.0.1). The "host" value can be either a hostname or an IP
 
94
    address, and the "port" is only required for IPv6 addresses,
 
95
    defaulting to 3310 otherwise.
87
96
 .
88
 
 This option can be repeated several times (separated by whitespace) with
89
 
 different sockets or even with the same socket: clamd servers will be selected
90
 
 in a round-robin fashion.
 
97
 You may specify multiple choices, separated by spaces. In such case, the
 
98
 clamd servers will be selected in a round-robin fashion.
91
99
 
92
100
Template: clamav-milter/LocalNet
93
101
Type: string
94
 
_Description: Exclusions - IP ranges:
95
 
 Messages originating from these hosts/networks will not be scanned.  This
96
 
 option takes a host(name)/mask pair in CIRD notation and can be repeated
97
 
 several times (separated by whitespace). If "/mask" is omitted, a host is
98
 
 assumed.  To specify a locally originated, non-smtp, email use the keyword
99
 
 "local".
 
102
_Description: Hosts excluded from scanning:
 
103
 Please specify, in CIDR notation (host(name)/mask), the hosts for
 
104
 which no scanning should be performed on incoming mail. Multiple entries
 
105
 should be separated by spaces. The "local" shortcut can be used to
 
106
 specify locally-originated (non-SMTP) email.
100
107
 .
101
 
 If unset, everything regardless of the origin is scanned.
 
108
 If this field is left empty, all incoming mail will be scanned.
102
109
 
103
110
Template: clamav-milter/Whitelist
104
111
Type: string
105
 
_Description: Exclusions - Regular expressions:
106
 
 This option specifies a file which contains a list of POSIX regular
107
 
 expressions. Addresses (sent to or from) matching these regexes will not be
108
 
 scanned.  Optionally each line can start with the string "From:" or "To:"
109
 
 (note: no whitespace after the colon) indicating if it is, respectively, the
110
 
 sender or recipient that is to be whitelisted.  If the field is missing, "To:"
111
 
 is assumed.
112
 
 .
113
 
 Lines in this file starting with #, : or ! are ignored.
114
 
 
115
 
Template: clamav-milter/OnClean
116
 
Type: select
117
 
Choices: Accept, Reject, Defer, Blackhole, Quarantine
118
 
Default: Accept
119
 
_Description: Action to be performed on clean messages (mostly useful for testing):
120
 
 The following actions are available:
121
 
 .
122
 
 - Accept: The message is accepted for delievery
123
 
 .
124
 
 - Reject: Immediately refuse delievery (a 5xx error is returned to the peer)
125
 
 .
126
 
 - Defer: Return a temporary failure message (4xx) to the peer
127
 
 .
128
 
 - Blackhole (not available for OnFail): Like accept but the message is sent to
129
 
   oblivion
130
 
 .
131
 
 - Quarantine (not available for OnFail): Like accept but message is quarantined
132
 
   instead of being delivered In sendmail the quarantine queue can be examined
133
 
   via mailq -qQ For Postfix this causes the message to be accepted but placed
134
 
   on hold
 
112
_Description: Mail addresses whitelist:
 
113
 Please specify the path to a whitelist file, listing email addresses
 
114
 that should cause scanning to be bypassed.
 
115
 .
 
116
 Each line in this file should be a POSIX regular expression; lines
 
117
 starting with "#", ":" or "!" will be ignored as comments.
 
118
 .
 
119
 Lines may start with "From:" (with no space after the colon) to make
 
120
 the whitelisting apply to matching sender addresses; otherwise, or
 
121
 with a "To:" prefix, it affects recipient addresses.
135
122
 
136
123
Template: clamav-milter/OnInfected
137
124
Type: select
138
 
Choices: Accept, Reject, Defer, Blackhole, Quarantine
 
125
__Choices: Accept, Reject, Defer, Blackhole, Quarantine
139
126
Default: Quarantine
140
 
_Description: Action to be performed on infected messages:
 
127
_Description: Action to perform on infected messages:
 
128
 Please choose the action to perform on "infected" messages:
 
129
 .
 
130
  - Accept    : accept the message for delivery;
 
131
  - Reject    : immediately refuse delivery (with a 5xx error);
 
132
  - Defer     : return a temporary failure message (4xx);
 
133
  - Blackhole : accept the message then drop it;
 
134
  - Quarantine: accept the message then quarantine it. With
 
135
                Sendmail, the quarantine queue can be examined
 
136
                with "mailq -qQ". With Postfix, such mails are placed
 
137
                on hold.
141
138
 
142
139
Template: clamav-milter/OnFail
143
140
Type: select
144
 
Choices: Accept, Reject, Defer, Blackhole, Quarantine
 
141
__Choices: Accept, Reject, Defer
145
142
Default: Defer
146
 
_Description: Action to be performed on error conditions:
147
 
 This includes failure to allocate data structures, no scanners available,
148
 
 network timeouts, unknown scanner replies and the like)
 
143
_Description: Action to perform on error conditions:
 
144
 Please choose the action to perform on errors such as failure to
 
145
 allocate data structures, no scanners available,
 
146
 network timeouts, unknown scanner replies...:
 
147
 .
 
148
  - Accept: accept the message for delivery;
 
149
  - Reject: immediately refuse delivery (with a 5xx error);
 
150
  - Defer : return a temporary failure message (4xx).
149
151
 
150
152
Template: clamav-milter/RejectMsg
151
153
Type: string
152
154
_Description: Specific rejection reason for infected messages:
153
 
 It is only useful together with "OnInfected Reject".  The string "%v", if
154
 
 present, will be replaced with the virus name.
 
155
 Please specify the rejection reason that will be included in reject mails.
 
156
 .
 
157
 This option is only useful together with "OnInfected Reject".
 
158
 .
 
159
 The "%v" string may be used to include the virus name.
155
160
 
156
161
Template: clamav-milter/AddHeader
157
 
Type: boolean
158
 
Default: false
 
162
Type: select
 
163
__Choices: Replace, Yes, No, Add
 
164
Default: Replace
159
165
_Description: Add headers to processed messages?
160
 
 If adding headers is enabled, "X-Virus-Scanned" and "X-Virus-Status" headers
 
166
 If you choose this option, "X-Virus-Scanned" and "X-Virus-Status" headers
161
167
 will be attached to each processed message, possibly replacing existing
162
 
 headers. 
 
168
 similar headers. 
163
169
 
164
170
Template: clamav-milter/LogFile
165
171
Type: string
166
172
Default: none
167
 
_Description: Log to file:
168
 
 LogFile must be writable for the user running daemon.  A full path is required.
 
173
_Description: Log file for clamav-milter:
 
174
 Specify the full path to the clamav-milter log file, which must be
 
175
 writable for the clamav daemon.
169
176
 .
170
 
 Logging via syslog is configured independently of this entry.
 
177
 Logging via syslog is configured independently of this setting.
171
178
 
172
179
Template: clamav-milter/LogFileUnlock
173
180
Type: boolean
179
186
Template: clamav-milter/LogFileMaxSize
180
187
Type: string
181
188
Default: 1M
182
 
_Description: Maximum size of the log file (unit Mb):
183
 
 Set to a value of '0' to disable the timeout.
 
189
_Description: Maximum size of the log file (MB):
 
190
 Please specify the maximum size for the log file. Using "0" will
 
191
 allow that file to grow indefinitely.
184
192
 
185
193
Template: clamav-milter/LogTime
186
194
Type: boolean
190
198
Template: clamav-milter/LogSyslog
191
199
Type: boolean
192
200
Default: false
193
 
_Description: Use system logger (can work together with LogFile)?
 
201
_Description: Use system logger?
 
202
 Please choose whether you want to use the system logger (syslog). This
 
203
 option can be used along with logging in a dedicated file.
194
204
 
195
205
Template: clamav-milter/LogFacility
196
206
Type: string
197
207
Default: LOG_LOCAL6
198
 
_Description: Specify the type of syslog messages:
199
 
 Please refer to 'man syslog' for facility names.
 
208
_Description: Type of syslog messages:
 
209
 Please choose the type of syslog messages as detailed in the system
 
210
 logger's documentation.
200
211
 
201
212
Template: clamav-milter/LogVerbose
202
213
Type: boolean
205
216
 
206
217
Template: clamav-milter/LogInfected
207
218
Type: select
208
 
Choices: Off, Basic, Full
 
219
__Choices: Off, Basic, Full
209
220
Default: Off
210
 
_Description: What should be logged when a message is infected:
211
 
 Possible values are Off (the default - nothing is logged), Basic (minimal info
212
 
 logged), Full (verbose info logged)
 
221
_Description: Information to log on infected messages:
 
222
 Please choose the level of information that will be logged when infected
 
223
 messages are found:
 
224
  - Off  : no logging;
 
225
  - Basic: minimal information;
 
226
  - Full : verbose information.
213
227
 
214
228
Template: clamav-milter/MaxFileSize
215
229
Type: string
216
230
Default: 25M
217
 
_Description: Messages larger than this value won't be scanned (unit Mb):
218
 
 Make sure this value is lower than StreamMaxLength in clamd.conf
219
 
 
 
231
_Description: Size limit for scanned messages (MB):
 
232
 Please specify the maximum size for scanned messages. Messages bigger than
 
233
 this limit will not be scanned.
 
234
 .
 
235
 You should check that this value is lower than the value of "StreamMaxLength"
 
236
 in the clamd.conf file.