]> git.proxmox.com Git - pmg-docs.git/blame - pmg.conf.5-opts.adoc
api-viewer: properly HTML encode properties
[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
eff914dc
DM
31`email`: `<string>` ('default =' `admin@domain.tld`)::
32
33Administrator E-Mail address.
34
9fda36b0 35`http_proxy`: `http://.*` ::
f872534d 36
9fda36b0 37Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')
f872534d 38
a55e94a6
DM
39`statlifetime`: `<integer> (1 - N)` ('default =' `7`)::
40
41User Statistics Lifetime (days)
42
f872534d
DM
43.Section 'clamav'
44
45`archiveblockencrypted`: `<boolean>` ('default =' `0`)::
46
241ac83c 47Whether to block encrypted archives and documents. Mark encrypted archives and documents as viruses.
f872534d
DM
48
49`archivemaxfiles`: `<integer> (0 - N)` ('default =' `1000`)::
50
51Number 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.
52
53`archivemaxrec`: `<integer> (1 - N)` ('default =' `5`)::
54
55Nested 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.
56
57`archivemaxsize`: `<integer> (1000000 - N)` ('default =' `25000000`)::
58
59Files larger than this limit won't be scanned.
60
61`dbmirror`: `<string>` ('default =' `database.clamav.net`)::
62
63ClamAV database mirror server.
64
f872534d
DM
65`maxcccount`: `<integer> (0 - N)` ('default =' `0`)::
66
67This option sets the lowest number of Credit Card or Social Security numbers found in a file to generate a detect.
68
69`maxscansize`: `<integer> (1000000 - N)` ('default =' `100000000`)::
70
71Sets the maximum amount of data to be scanned for each input file.
72
f245a28c
DM
73`safebrowsing`: `<boolean>` ('default =' `1`)::
74
75Enables support for Google Safe Browsing.
76
f872534d
DM
77.Section 'mail'
78
79`banner`: `<string>` ('default =' `ESMTP Proxmox`)::
80
81ESMTP banner.
82
83`conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
84
85How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
86
87`conn_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
88
89The 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.
90
f872534d
DM
91`dnsbl_sites`: `<string>` ::
92
93Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).
94
1ed9e770
DM
95`dnsbl_threshold`: `<integer> (0 - N)` ('default =' `1`)::
96
97The inclusive lower bound for blocking a remote SMTP client, based on its combined DNSBL score (see postscreen_dnsbl_threshold parameter).
98
f872534d
DM
99`dwarning`: `<integer> (0 - N)` ('default =' `4`)::
100
101SMTP delay warning time (in hours).
102
4a46ced6 103`ext_port`: `<integer> (1 - 65535)` ('default =' `25`)::
eff914dc
DM
104
105SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'.
106
f872534d
DM
107`greylist`: `<boolean>` ('default =' `1`)::
108
109Use Greylisting.
110
111`helotests`: `<boolean>` ('default =' `0`)::
112
113Use SMTP HELO tests.
114
115`hide_received`: `<boolean>` ('default =' `0`)::
116
117Hide received header in outgoing mails.
118
4a46ced6 119`int_port`: `<integer> (1 - 65535)` ('default =' `26`)::
eff914dc
DM
120
121SMTP port number for outgoing mail (trusted).
122
241ac83c 123`max_filters`: `<integer> (3 - 40)` ('default =' `35`)::
f872534d
DM
124
125Maximum number of pmg-smtp-filter processes.
126
127`max_policy`: `<integer> (2 - 10)` ('default =' `5`)::
128
129Maximum number of pmgpolicy processes.
130
241ac83c 131`max_smtpd_in`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
132
133Maximum number of SMTP daemon processes (in).
134
241ac83c 135`max_smtpd_out`: `<integer> (3 - 100)` ('default =' `100`)::
f872534d
DM
136
137Maximum number of SMTP daemon processes (out).
138
139`maxsize`: `<integer> (1024 - N)` ('default =' `10485760`)::
140
141Maximum email size. Larger mails are rejected.
142
143`message_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
144
145The 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.
146
147`rejectunknown`: `<boolean>` ('default =' `0`)::
148
149Reject unknown clients.
150
151`rejectunknownsender`: `<boolean>` ('default =' `0`)::
152
153Reject unknown senders.
154
155`relay`: `<string>` ::
156
157The default mail delivery transport (incoming mails).
158
159`relaynomx`: `<boolean>` ('default =' `0`)::
160
161Disable MX lookups for default relay.
162
163`relayport`: `<integer> (1 - 65535)` ('default =' `25`)::
164
165SMTP port number for relay host.
166
eff914dc
DM
167`smarthost`: `<string>` ::
168
169When set, all outgoing mails are deliverd to the specified smarthost.
170
851283b1
DM
171`smarthostport`: `<integer> (1 - 65535)` ('default =' `25`)::
172
173SMTP port number for smarthost.
174
f872534d
DM
175`spf`: `<boolean>` ('default =' `1`)::
176
177Use Sender Policy Framework.
178
179`tls`: `<boolean>` ('default =' `0`)::
180
eff914dc
DM
181Enable TLS.
182
183`tlsheader`: `<boolean>` ('default =' `0`)::
184
185Add TLS received header.
186
187`tlslog`: `<boolean>` ('default =' `0`)::
188
189Enable TLS Logging.
f872534d 190
eff914dc 191`verifyreceivers`: `<450 | 550>` ::
f872534d 192
eff914dc 193Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.
f872534d
DM
194
195.Section 'spam'
196
197`bounce_score`: `<integer> (0 - 1000)` ('default =' `0`)::
198
199Additional score for bounce mails.
200
a18c67c0 201`clamav_heuristic_score`: `<integer> (0 - 1000)` ('default =' `3`)::
f872534d 202
241ac83c 203Score for ClamAV heuristics (Google Safe Browsing database, PhishingScanURLs, ...).
f872534d
DM
204
205`languages`: `(all|([a-z][a-z])+( ([a-z][a-z])+)*)` ('default =' `all`)::
206
207This option is used to specify which languages are considered OK for incoming mail.
208
a18c67c0 209`maxspamsize`: `<integer> (64 - N)` ('default =' `262144`)::
f872534d
DM
210
211Maximum size of spam messages in bytes.
212
213`rbl_checks`: `<boolean>` ('default =' `1`)::
214
215Enable real time blacklists (RBL) checks.
216
217`use_awl`: `<boolean>` ('default =' `1`)::
218
219Use the Auto-Whitelist plugin.
220
221`use_bayes`: `<boolean>` ('default =' `1`)::
222
223Whether to use the naive-Bayesian-style classifier.
224
f872534d
DM
225`use_razor`: `<boolean>` ('default =' `1`)::
226
227Whether to use Razor2, if it is available.
228
229`wl_bounce_relays`: `<string>` ::
230
231Whitelist legitimate bounce relays.
232
f245a28c
DM
233.Section 'spamquar'
234
235`allowhrefs`: `<boolean>` ('default =' `1`)::
236
237Allow to view hyperlinks.
238
239`authmode`: `<ldap | ldapticket | ticket>` ('default =' `ticket`)::
240
241Authentication 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.
242
f245a28c
DM
243`hostname`: `<string>` ::
244
b81b1f95 245Quarantine Host. Useful if you run a Cluster and want users to connect to a specific host.
f245a28c
DM
246
247`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
248
249Quarantine life time (days)
250
251`mailfrom`: `<string>` ::
252
253Text for 'From' header in daily spam report mails.
254
b81b1f95
DM
255`port`: `<integer> (1 - 65535)` ('default =' `8006`)::
256
257Quarantine Port. Useful if you have a reverse proxy or port forwarding for the webinterface. Only used for the generated Spam report.
258
259`protocol`: `<http | https>` ('default =' `https`)::
260
261Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
262
d7cd791b 263`reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
f245a28c
DM
264
265Spam report style.
266
267`viewimages`: `<boolean>` ('default =' `1`)::
268
269Allow to view images.
270
271.Section 'virusquar'
272
273`allowhrefs`: `<boolean>` ('default =' `1`)::
274
275Allow to view hyperlinks.
276
f245a28c
DM
277`lifetime`: `<integer> (1 - N)` ('default =' `7`)::
278
279Quarantine life time (days)
280
281`viewimages`: `<boolean>` ('default =' `1`)::
282
283Allow to view images.
284