]> git.proxmox.com Git - pmg-docs.git/blame - pmg.conf.5-opts.adoc
put login-window screenshot inside paragraph
[pmg-docs.git] / pmg.conf.5-opts.adoc
CommitLineData
f872534d
DM
1.Section 'admin'
2
9fda36b0
DM
3`advfilter`: `<boolean>` ('default =' `1`)::
4
5Use advanced filters for statistic.
6
f225b3b4
DM
7`avast`: `<boolean>` ('default =' `0`)::
8
241ac83c 9Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.
f225b3b4
DM
10
11`clamav`: `<boolean>` ('default =' `1`)::
12
13Use ClamAV Virus Scanner. This is the default virus scanner and is enabled by default.
14
241ac83c
TL
15`custom_check`: `<boolean>` ('default =' `0`)::
16
17Use Custom Check Script. The script has to take the defined arguments and can return Virus findings or a Spamscore.
18
19`custom_check_path`: `^/([^/\0]+\/)+[^/\0]+$` ('default =' `/usr/local/bin/pmg-custom-check`)::
20
21Absolute Path to the Custom Check Script
22
f872534d
DM
23`dailyreport`: `<boolean>` ('default =' `1`)::
24
25Send daily reports.
26
f872534d
DM
27`demo`: `<boolean>` ('default =' `0`)::
28
29Demo mode - do not start SMTP filter.
30
d210277a
TL
31`dkim_selector`: `<string>` ::
32
33Default DKIM selector
34
35`dkim_sign`: `<boolean>` ('default =' `0`)::
36
37DKIM sign outbound mails with the configured Selector.
38
39`dkim_sign_all_mail`: `<boolean>` ('default =' `0`)::
40
41DKIM sign all outgoing mails irrespective of the Envelope From domain.
42
eff914dc
DM
43`email`: `<string>` ('default =' `admin@domain.tld`)::
44
45Administrator E-Mail address.
46
9fda36b0 47`http_proxy`: `http://.*` ::
f872534d 48
9fda36b0 49Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')
f872534d 50
a55e94a6
DM
51`statlifetime`: `<integer> (1 - N)` ('default =' `7`)::
52
53User Statistics Lifetime (days)
54
f872534d
DM
55.Section 'clamav'
56
57`archiveblockencrypted`: `<boolean>` ('default =' `0`)::
58
6a73cfb0 59Whether to mark encrypted archives and documents as heuristic virus match. A match does not necessarily result in an immediate block, it just raises the Spam Score by 'clamav_heuristic_score'.
f872534d
DM
60
61`archivemaxfiles`: `<integer> (0 - N)` ('default =' `1000`)::
62
63Number of files to be scanned within an archive, a document, or any other kind of container. Warning: disabling this limit or setting it too high may result in severe damage to the system.
64
65`archivemaxrec`: `<integer> (1 - N)` ('default =' `5`)::
66
67Nested archives are scanned recursively, e.g. if a ZIP archive contains a TAR file, all files within it will also be scanned. This options specifies how deeply the process should be continued. Warning: setting this limit too high may result in severe damage to the system.
68
69`archivemaxsize`: `<integer> (1000000 - N)` ('default =' `25000000`)::
70
6a73cfb0 71Files larger than this limit (in bytes) won't be scanned.
f872534d
DM
72
73`dbmirror`: `<string>` ('default =' `database.clamav.net`)::
74
75ClamAV database mirror server.
76
f872534d
DM
77`maxcccount`: `<integer> (0 - N)` ('default =' `0`)::
78
79This option sets the lowest number of Credit Card or Social Security numbers found in a file to generate a detect.
80
81`maxscansize`: `<integer> (1000000 - N)` ('default =' `100000000`)::
82
6a73cfb0 83Sets the maximum amount of data (in bytes) to be scanned for each input file.
f872534d 84
f245a28c
DM
85`safebrowsing`: `<boolean>` ('default =' `1`)::
86
87Enables support for Google Safe Browsing.
88
f872534d
DM
89.Section 'mail'
90
91`banner`: `<string>` ('default =' `ESMTP Proxmox`)::
92
93ESMTP banner.
94
d210277a
TL
95`before_queue_filtering`: `<boolean>` ('default =' `0`)::
96
97Enable before queue filtering by pmg-smtp-filter
98
f872534d
DM
99`conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
100
101How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
102
103`conn_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
104
105The maximal number of connection attempts any client is allowed to make to this service per minute. To disable this feature, specify a limit of 0.
106
f872534d
DM
107`dnsbl_sites`: `<string>` ::
108
109Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).
110
1ed9e770
DM
111`dnsbl_threshold`: `<integer> (0 - N)` ('default =' `1`)::
112
113The inclusive lower bound for blocking a remote SMTP client, based on its combined DNSBL score (see postscreen_dnsbl_threshold parameter).
114
f872534d
DM
115`dwarning`: `<integer> (0 - N)` ('default =' `4`)::
116
117SMTP delay warning time (in hours).
118
4a46ced6 119`ext_port`: `<integer> (1 - 65535)` ('default =' `25`)::
eff914dc
DM
120
121SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'.
122
f872534d
DM
123`greylist`: `<boolean>` ('default =' `1`)::
124
125Use Greylisting.
126
127`helotests`: `<boolean>` ('default =' `0`)::
128
129Use SMTP HELO tests.
130
131`hide_received`: `<boolean>` ('default =' `0`)::
132
133Hide received header in outgoing mails.
134
4a46ced6 135`int_port`: `<integer> (1 - 65535)` ('default =' `26`)::
eff914dc
DM
136
137SMTP port number for outgoing mail (trusted).
138
241ac83c 139`max_filters`: `<integer> (3 - 40)` ('default =' `35`)::
f872534d
DM
140
141Maximum number of pmg-smtp-filter processes.
142
143`max_policy`: `<integer> (2 - 10)` ('default =' `5`)::
144
145Maximum number of pmgpolicy processes.
146
241ac83c 147`max_smtpd_in`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
148
149Maximum number of SMTP daemon processes (in).
150
241ac83c 151`max_smtpd_out`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
152
153Maximum number of SMTP daemon processes (out).
154
155`maxsize`: `<integer> (1024 - N)` ('default =' `10485760`)::
156
157Maximum email size. Larger mails are rejected.
158
159`message_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
160
161The maximal number of message delivery requests that any client is allowed to make to this service per minute.To disable this feature, specify a limit of 0.
162
d210277a
TL
163`ndr_on_block`: `<boolean>` ('default =' `0`)::
164
165Send out NDR when mail gets blocked
166
f872534d
DM
167`rejectunknown`: `<boolean>` ('default =' `0`)::
168
169Reject unknown clients.
170
171`rejectunknownsender`: `<boolean>` ('default =' `0`)::
172
173Reject unknown senders.
174
175`relay`: `<string>` ::
176
177The default mail delivery transport (incoming mails).
178
179`relaynomx`: `<boolean>` ('default =' `0`)::
180
181Disable MX lookups for default relay.
182
183`relayport`: `<integer> (1 - 65535)` ('default =' `25`)::
184
185SMTP port number for relay host.
186
eff914dc
DM
187`smarthost`: `<string>` ::
188
189When set, all outgoing mails are deliverd to the specified smarthost.
190
851283b1
DM
191`smarthostport`: `<integer> (1 - 65535)` ('default =' `25`)::
192
193SMTP port number for smarthost.
194
f872534d
DM
195`spf`: `<boolean>` ('default =' `1`)::
196
197Use Sender Policy Framework.
198
199`tls`: `<boolean>` ('default =' `0`)::
200
eff914dc
DM
201Enable TLS.
202
203`tlsheader`: `<boolean>` ('default =' `0`)::
204
205Add TLS received header.
206
207`tlslog`: `<boolean>` ('default =' `0`)::
208
209Enable TLS Logging.
f872534d 210
eff914dc 211`verifyreceivers`: `<450 | 550>` ::
f872534d 212
eff914dc 213Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.
f872534d
DM
214
215.Section 'spam'
216
217`bounce_score`: `<integer> (0 - 1000)` ('default =' `0`)::
218
219Additional score for bounce mails.
220
a18c67c0 221`clamav_heuristic_score`: `<integer> (0 - 1000)` ('default =' `3`)::
f872534d 222
6a73cfb0 223Score for ClamAV heuristics (Encrypted Archives/Documents, Google Safe Browsing database, PhishingScanURLs, ...).
f872534d
DM
224
225`languages`: `(all|([a-z][a-z])+( ([a-z][a-z])+)*)` ('default =' `all`)::
226
227This option is used to specify which languages are considered OK for incoming mail.
228
a18c67c0 229`maxspamsize`: `<integer> (64 - N)` ('default =' `262144`)::
f872534d
DM
230
231Maximum size of spam messages in bytes.
232
233`rbl_checks`: `<boolean>` ('default =' `1`)::
234
235Enable real time blacklists (RBL) checks.
236
237`use_awl`: `<boolean>` ('default =' `1`)::
238
239Use the Auto-Whitelist plugin.
240
241`use_bayes`: `<boolean>` ('default =' `1`)::
242
243Whether to use the naive-Bayesian-style classifier.
244
f872534d
DM
245`use_razor`: `<boolean>` ('default =' `1`)::
246
247Whether to use Razor2, if it is available.
248
249`wl_bounce_relays`: `<string>` ::
250
251Whitelist legitimate bounce relays.
252
f245a28c
DM
253.Section 'spamquar'
254
255`allowhrefs`: `<boolean>` ('default =' `1`)::
256
257Allow to view hyperlinks.
258
259`authmode`: `<ldap | ldapticket | ticket>` ('default =' `ticket`)::
260
261Authentication mode to access the quarantine interface. Mode 'ticket' allows login using tickets sent with the daily spam report. Mode 'ldap' requires to login using an LDAP account. Finally, mode 'ldapticket' allows both ways.
262
f245a28c
DM
263`hostname`: `<string>` ::
264
b81b1f95 265Quarantine Host. Useful if you run a Cluster and want users to connect to a specific host.
f245a28c
DM
266
267`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
268
269Quarantine life time (days)
270
271`mailfrom`: `<string>` ::
272
273Text for 'From' header in daily spam report mails.
274
b81b1f95
DM
275`port`: `<integer> (1 - 65535)` ('default =' `8006`)::
276
277Quarantine Port. Useful if you have a reverse proxy or port forwarding for the webinterface. Only used for the generated Spam report.
278
279`protocol`: `<http | https>` ('default =' `https`)::
280
281Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
282
d7cd791b 283`reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
f245a28c
DM
284
285Spam report style.
286
287`viewimages`: `<boolean>` ('default =' `1`)::
288
289Allow to view images.
290
291.Section 'virusquar'
292
293`allowhrefs`: `<boolean>` ('default =' `1`)::
294
295Allow to view hyperlinks.
296
f245a28c
DM
297`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
298
299Quarantine life time (days)
300
301`viewimages`: `<boolean>` ('default =' `1`)::
302
303Allow to view images.
304