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