]> git.proxmox.com Git - pmg-docs.git/blame - pmg.conf.5-opts.adoc
update static schema info
[pmg-docs.git] / pmg.conf.5-opts.adoc
CommitLineData
f872534d
DM
1.Section 'admin'
2
f6fe5021 3`advfilter`: `<boolean>` ('default =' `0`)::
9fda36b0 4
40ce6cfd
SI
5Enable advanced filters for statistic.
6+
7If this is enabled, the receiver statistic are limited to active ones
8(receivers which also sent out mail in the 90 days before), and the contact
9statistic will not contain these active receivers.
9fda36b0 10
f225b3b4
DM
11`avast`: `<boolean>` ('default =' `0`)::
12
241ac83c 13Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.
f225b3b4
DM
14
15`clamav`: `<boolean>` ('default =' `1`)::
16
17Use ClamAV Virus Scanner. This is the default virus scanner and is enabled by default.
18
241ac83c
TL
19`custom_check`: `<boolean>` ('default =' `0`)::
20
21Use Custom Check Script. The script has to take the defined arguments and can return Virus findings or a Spamscore.
22
23`custom_check_path`: `^/([^/\0]+\/)+[^/\0]+$` ('default =' `/usr/local/bin/pmg-custom-check`)::
24
25Absolute Path to the Custom Check Script
26
f872534d
DM
27`dailyreport`: `<boolean>` ('default =' `1`)::
28
29Send daily reports.
30
f872534d
DM
31`demo`: `<boolean>` ('default =' `0`)::
32
33Demo mode - do not start SMTP filter.
34
29f6d740
TL
35`dkim-use-domain`: `<envelope | header>` ('default =' `envelope`)::
36
37Whether to sign using the address from the header or the envelope.
38
d210277a
TL
39`dkim_selector`: `<string>` ::
40
41Default DKIM selector
42
43`dkim_sign`: `<boolean>` ('default =' `0`)::
44
45DKIM sign outbound mails with the configured Selector.
46
47`dkim_sign_all_mail`: `<boolean>` ('default =' `0`)::
48
49DKIM sign all outgoing mails irrespective of the Envelope From domain.
50
eff914dc
DM
51`email`: `<string>` ('default =' `admin@domain.tld`)::
52
53Administrator E-Mail address.
54
9fda36b0 55`http_proxy`: `http://.*` ::
f872534d 56
9fda36b0 57Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')
f872534d 58
a55e94a6
DM
59`statlifetime`: `<integer> (1 - N)` ('default =' `7`)::
60
61User Statistics Lifetime (days)
62
f872534d
DM
63.Section 'clamav'
64
65`archiveblockencrypted`: `<boolean>` ('default =' `0`)::
66
6a73cfb0 67Whether 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
68
69`archivemaxfiles`: `<integer> (0 - N)` ('default =' `1000`)::
70
71Number 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.
72
73`archivemaxrec`: `<integer> (1 - N)` ('default =' `5`)::
74
75Nested 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.
76
77`archivemaxsize`: `<integer> (1000000 - N)` ('default =' `25000000`)::
78
6a73cfb0 79Files larger than this limit (in bytes) won't be scanned.
f872534d
DM
80
81`dbmirror`: `<string>` ('default =' `database.clamav.net`)::
82
83ClamAV database mirror server.
84
f872534d
DM
85`maxcccount`: `<integer> (0 - N)` ('default =' `0`)::
86
87This option sets the lowest number of Credit Card or Social Security numbers found in a file to generate a detect.
88
89`maxscansize`: `<integer> (1000000 - N)` ('default =' `100000000`)::
90
6a73cfb0 91Sets the maximum amount of data (in bytes) to be scanned for each input file.
f872534d 92
0362f73f 93`safebrowsing`: `<boolean>` ('default =' `0`)::
f245a28c 94
0362f73f 95Enables support for Google Safe Browsing. (deprecated option, will be ignored)
f245a28c 96
b4ec4bc2 97`scriptedupdates`: `<boolean>` ('default =' `1`)::
549cfb68
TL
98
99Enables ScriptedUpdates (incremental download of signatures)
100
f872534d
DM
101.Section 'mail'
102
103`banner`: `<string>` ('default =' `ESMTP Proxmox`)::
104
105ESMTP banner.
106
d210277a
TL
107`before_queue_filtering`: `<boolean>` ('default =' `0`)::
108
109Enable before queue filtering by pmg-smtp-filter
110
f872534d
DM
111`conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
112
113How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
114
115`conn_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
116
117The 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.
118
f872534d
DM
119`dnsbl_sites`: `<string>` ::
120
40ce6cfd 121Optional list of DNS white/blacklist domains (postfix option `postscreen_dnsbl_sites`).
f872534d 122
1ed9e770
DM
123`dnsbl_threshold`: `<integer> (0 - N)` ('default =' `1`)::
124
40ce6cfd 125The inclusive lower bound for blocking a remote SMTP client, based on its combined DNSBL score (postfix option `postscreen_dnsbl_threshold`).
1ed9e770 126
f872534d
DM
127`dwarning`: `<integer> (0 - N)` ('default =' `4`)::
128
40ce6cfd 129SMTP delay warning time (in hours). (postfix option `delay_warning_time`)
f872534d 130
4a46ced6 131`ext_port`: `<integer> (1 - 65535)` ('default =' `25`)::
eff914dc
DM
132
133SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'.
134
cbd73e8f
TL
135`filter-timeout`: `<integer> (2 - 86400)` ('default =' `600`)::
136
137Timeout for the processing of one mail (in seconds) (postfix option `smtpd_proxy_timeout` and `lmtp_data_done_timeout`)
138
f872534d
DM
139`greylist`: `<boolean>` ('default =' `1`)::
140
549cfb68
TL
141Use Greylisting for IPv4.
142
143`greylist6`: `<boolean>` ('default =' `0`)::
144
145Use Greylisting for IPv6.
146
147`greylistmask4`: `<integer> (0 - 32)` ('default =' `24`)::
148
149Netmask to apply for greylisting IPv4 hosts
150
151`greylistmask6`: `<integer> (0 - 128)` ('default =' `64`)::
152
153Netmask to apply for greylisting IPv6 hosts
f872534d
DM
154
155`helotests`: `<boolean>` ('default =' `0`)::
156
40ce6cfd 157Use SMTP HELO tests. (postfix option `smtpd_helo_restrictions`)
f872534d
DM
158
159`hide_received`: `<boolean>` ('default =' `0`)::
160
161Hide received header in outgoing mails.
162
4a46ced6 163`int_port`: `<integer> (1 - 65535)` ('default =' `26`)::
eff914dc
DM
164
165SMTP port number for outgoing mail (trusted).
166
cbd73e8f 167`max_filters`: `<integer> (3 - 40)` ('default =' `25`)::
f872534d
DM
168
169Maximum number of pmg-smtp-filter processes.
170
171`max_policy`: `<integer> (2 - 10)` ('default =' `5`)::
172
173Maximum number of pmgpolicy processes.
174
cbd73e8f 175`max_smtpd_in`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
176
177Maximum number of SMTP daemon processes (in).
178
cbd73e8f 179`max_smtpd_out`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
180
181Maximum number of SMTP daemon processes (out).
182
183`maxsize`: `<integer> (1024 - N)` ('default =' `10485760`)::
184
40ce6cfd 185Maximum email size. Larger mails are rejected. (postfix option `message_size_limit`)
f872534d
DM
186
187`message_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
188
189The 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.
190
d210277a
TL
191`ndr_on_block`: `<boolean>` ('default =' `0`)::
192
193Send out NDR when mail gets blocked
194
f872534d
DM
195`rejectunknown`: `<boolean>` ('default =' `0`)::
196
40ce6cfd 197Reject unknown clients. (postfix option `reject_unknown_client_hostname`)
f872534d
DM
198
199`rejectunknownsender`: `<boolean>` ('default =' `0`)::
200
40ce6cfd 201Reject unknown senders. (postfix option `reject_unknown_sender_domain`)
f872534d
DM
202
203`relay`: `<string>` ::
204
205The default mail delivery transport (incoming mails).
206
207`relaynomx`: `<boolean>` ('default =' `0`)::
208
6bd70b95 209Disable MX lookups for default relay (SMTP only, ignored for LMTP).
f872534d
DM
210
211`relayport`: `<integer> (1 - 65535)` ('default =' `25`)::
212
6bd70b95
TL
213SMTP/LMTP port number for relay host.
214
215`relayprotocol`: `<lmtp | smtp>` ('default =' `smtp`)::
216
217Transport protocol for relay host.
f872534d 218
eff914dc
DM
219`smarthost`: `<string>` ::
220
40ce6cfd 221When set, all outgoing mails are deliverd to the specified smarthost. (postfix option `default_transport`)
eff914dc 222
851283b1
DM
223`smarthostport`: `<integer> (1 - 65535)` ('default =' `25`)::
224
40ce6cfd 225SMTP port number for smarthost. (postfix option `default_transport`)
851283b1 226
8c308065
TL
227`smtputf8`: `<boolean>` ('default =' `1`)::
228
40ce6cfd 229Enable SMTPUTF8 support in Postfix and detection for locally generated mail (postfix option `smtputf8_enable`)
8c308065 230
f872534d
DM
231`spf`: `<boolean>` ('default =' `1`)::
232
233Use Sender Policy Framework.
234
235`tls`: `<boolean>` ('default =' `0`)::
236
eff914dc
DM
237Enable TLS.
238
239`tlsheader`: `<boolean>` ('default =' `0`)::
240
241Add TLS received header.
242
243`tlslog`: `<boolean>` ('default =' `0`)::
244
245Enable TLS Logging.
f872534d 246
eff914dc 247`verifyreceivers`: `<450 | 550>` ::
f872534d 248
cbd73e8f 249Enable receiver verification. The value specifies the numerical reply code when the Postfix SMTP server rejects a recipient address. (postfix options `reject_unknown_recipient_domain`, `reject_unverified_recipient`, and `unverified_recipient_reject_code`)
f872534d
DM
250
251.Section 'spam'
252
253`bounce_score`: `<integer> (0 - 1000)` ('default =' `0`)::
254
255Additional score for bounce mails.
256
a18c67c0 257`clamav_heuristic_score`: `<integer> (0 - 1000)` ('default =' `3`)::
f872534d 258
0362f73f 259Score for ClamAV heuristics (Encrypted Archives/Documents, PhishingScanURLs, ...).
f872534d 260
8c308065
TL
261`extract_text`: `<boolean>` ('default =' `0`)::
262
263Extract text from attachments (doc, pdf, rtf, images) and scan for spam.
264
f872534d
DM
265`languages`: `(all|([a-z][a-z])+( ([a-z][a-z])+)*)` ('default =' `all`)::
266
267This option is used to specify which languages are considered OK for incoming mail.
268
a18c67c0 269`maxspamsize`: `<integer> (64 - N)` ('default =' `262144`)::
f872534d
DM
270
271Maximum size of spam messages in bytes.
272
273`rbl_checks`: `<boolean>` ('default =' `1`)::
274
275Enable real time blacklists (RBL) checks.
276
f6fe5021 277`use_awl`: `<boolean>` ('default =' `0`)::
f872534d
DM
278
279Use the Auto-Whitelist plugin.
280
f6fe5021 281`use_bayes`: `<boolean>` ('default =' `0`)::
f872534d
DM
282
283Whether to use the naive-Bayesian-style classifier.
284
f872534d
DM
285`use_razor`: `<boolean>` ('default =' `1`)::
286
287Whether to use Razor2, if it is available.
288
289`wl_bounce_relays`: `<string>` ::
290
291Whitelist legitimate bounce relays.
292
f245a28c
DM
293.Section 'spamquar'
294
295`allowhrefs`: `<boolean>` ('default =' `1`)::
296
297Allow to view hyperlinks.
298
299`authmode`: `<ldap | ldapticket | ticket>` ('default =' `ticket`)::
300
301Authentication 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.
302
f245a28c
DM
303`hostname`: `<string>` ::
304
b81b1f95 305Quarantine Host. Useful if you run a Cluster and want users to connect to a specific host.
f245a28c
DM
306
307`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
308
309Quarantine life time (days)
310
311`mailfrom`: `<string>` ::
312
313Text for 'From' header in daily spam report mails.
314
b81b1f95
DM
315`port`: `<integer> (1 - 65535)` ('default =' `8006`)::
316
317Quarantine Port. Useful if you have a reverse proxy or port forwarding for the webinterface. Only used for the generated Spam report.
318
319`protocol`: `<http | https>` ('default =' `https`)::
320
321Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
322
ab2b846b
TL
323`quarantinelink`: `<boolean>` ('default =' `0`)::
324
325Enables user self-service for Quarantine Links. Caution: this is accessible without authentication
326
d7cd791b 327`reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
f245a28c
DM
328
329Spam report style.
330
331`viewimages`: `<boolean>` ('default =' `1`)::
332
333Allow to view images.
334
335.Section 'virusquar'
336
337`allowhrefs`: `<boolean>` ('default =' `1`)::
338
339Allow to view hyperlinks.
340
f245a28c
DM
341`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
342
343Quarantine life time (days)
344
345`viewimages`: `<boolean>` ('default =' `1`)::
346
347Allow to view images.
348