3 `advfilter`: `<boolean>` ('default =' `1`)::
5 Use advanced filters for statistic.
7 `avast`: `<boolean>` ('default =' `0`)::
9 Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.
11 `clamav`: `<boolean>` ('default =' `1`)::
13 Use ClamAV Virus Scanner. This is the default virus scanner and is enabled by default.
15 `custom_check`: `<boolean>` ('default =' `0`)::
17 Use Custom Check Script. The script has to take the defined arguments and can return Virus findings or a Spamscore.
19 `custom_check_path`: `^/([^/\0]+\/)+[^/\0]+$` ('default =' `/usr/local/bin/pmg-custom-check`)::
21 Absolute Path to the Custom Check Script
23 `dailyreport`: `<boolean>` ('default =' `1`)::
27 `demo`: `<boolean>` ('default =' `0`)::
29 Demo mode - do not start SMTP filter.
31 `dkim_selector`: `<string>` ::
35 `dkim_sign`: `<boolean>` ('default =' `0`)::
37 DKIM sign outbound mails with the configured Selector.
39 `dkim_sign_all_mail`: `<boolean>` ('default =' `0`)::
41 DKIM sign all outgoing mails irrespective of the Envelope From domain.
43 `email`: `<string>` ('default =' `admin@domain.tld`)::
45 Administrator E-Mail address.
47 `http_proxy`: `http://.*` ::
49 Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')
51 `statlifetime`: `<integer> (1 - N)` ('default =' `7`)::
53 User Statistics Lifetime (days)
57 `archiveblockencrypted`: `<boolean>` ('default =' `0`)::
59 Whether 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'.
61 `archivemaxfiles`: `<integer> (0 - N)` ('default =' `1000`)::
63 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.
65 `archivemaxrec`: `<integer> (1 - N)` ('default =' `5`)::
67 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.
69 `archivemaxsize`: `<integer> (1000000 - N)` ('default =' `25000000`)::
71 Files larger than this limit (in bytes) won't be scanned.
73 `dbmirror`: `<string>` ('default =' `database.clamav.net`)::
75 ClamAV database mirror server.
77 `maxcccount`: `<integer> (0 - N)` ('default =' `0`)::
79 This option sets the lowest number of Credit Card or Social Security numbers found in a file to generate a detect.
81 `maxscansize`: `<integer> (1000000 - N)` ('default =' `100000000`)::
83 Sets the maximum amount of data (in bytes) to be scanned for each input file.
85 `safebrowsing`: `<boolean>` ('default =' `1`)::
87 Enables support for Google Safe Browsing.
91 `banner`: `<string>` ('default =' `ESMTP Proxmox`)::
95 `before_queue_filtering`: `<boolean>` ('default =' `0`)::
97 Enable before queue filtering by pmg-smtp-filter
99 `conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
101 How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
103 `conn_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
105 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.
107 `dnsbl_sites`: `<string>` ::
109 Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).
111 `dnsbl_threshold`: `<integer> (0 - N)` ('default =' `1`)::
113 The inclusive lower bound for blocking a remote SMTP client, based on its combined DNSBL score (see postscreen_dnsbl_threshold parameter).
115 `dwarning`: `<integer> (0 - N)` ('default =' `4`)::
117 SMTP delay warning time (in hours).
119 `ext_port`: `<integer> (1 - 65535)` ('default =' `25`)::
121 SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'.
123 `greylist`: `<boolean>` ('default =' `1`)::
127 `helotests`: `<boolean>` ('default =' `0`)::
131 `hide_received`: `<boolean>` ('default =' `0`)::
133 Hide received header in outgoing mails.
135 `int_port`: `<integer> (1 - 65535)` ('default =' `26`)::
137 SMTP port number for outgoing mail (trusted).
139 `max_filters`: `<integer> (3 - 40)` ('default =' `35`)::
141 Maximum number of pmg-smtp-filter processes.
143 `max_policy`: `<integer> (2 - 10)` ('default =' `5`)::
145 Maximum number of pmgpolicy processes.
147 `max_smtpd_in`: `<integer> (3 - 100)` ('default =' `100`)::
149 Maximum number of SMTP daemon processes (in).
151 `max_smtpd_out`: `<integer> (3 - 100)` ('default =' `100`)::
153 Maximum number of SMTP daemon processes (out).
155 `maxsize`: `<integer> (1024 - N)` ('default =' `10485760`)::
157 Maximum email size. Larger mails are rejected.
159 `message_rate_limit`: `<integer> (0 - N)` ('default =' `0`)::
161 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.
163 `ndr_on_block`: `<boolean>` ('default =' `0`)::
165 Send out NDR when mail gets blocked
167 `rejectunknown`: `<boolean>` ('default =' `0`)::
169 Reject unknown clients.
171 `rejectunknownsender`: `<boolean>` ('default =' `0`)::
173 Reject unknown senders.
175 `relay`: `<string>` ::
177 The default mail delivery transport (incoming mails).
179 `relaynomx`: `<boolean>` ('default =' `0`)::
181 Disable MX lookups for default relay (SMTP only, ignored for LMTP).
183 `relayport`: `<integer> (1 - 65535)` ('default =' `25`)::
185 SMTP/LMTP port number for relay host.
187 `relayprotocol`: `<lmtp | smtp>` ('default =' `smtp`)::
189 Transport protocol for relay host.
191 `smarthost`: `<string>` ::
193 When set, all outgoing mails are deliverd to the specified smarthost.
195 `smarthostport`: `<integer> (1 - 65535)` ('default =' `25`)::
197 SMTP port number for smarthost.
199 `spf`: `<boolean>` ('default =' `1`)::
201 Use Sender Policy Framework.
203 `tls`: `<boolean>` ('default =' `0`)::
207 `tlsheader`: `<boolean>` ('default =' `0`)::
209 Add TLS received header.
211 `tlslog`: `<boolean>` ('default =' `0`)::
215 `verifyreceivers`: `<450 | 550>` ::
217 Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.
221 `bounce_score`: `<integer> (0 - 1000)` ('default =' `0`)::
223 Additional score for bounce mails.
225 `clamav_heuristic_score`: `<integer> (0 - 1000)` ('default =' `3`)::
227 Score for ClamAV heuristics (Encrypted Archives/Documents, Google Safe Browsing database, PhishingScanURLs, ...).
229 `languages`: `(all|([a-z][a-z])+( ([a-z][a-z])+)*)` ('default =' `all`)::
231 This option is used to specify which languages are considered OK for incoming mail.
233 `maxspamsize`: `<integer> (64 - N)` ('default =' `262144`)::
235 Maximum size of spam messages in bytes.
237 `rbl_checks`: `<boolean>` ('default =' `1`)::
239 Enable real time blacklists (RBL) checks.
241 `use_awl`: `<boolean>` ('default =' `1`)::
243 Use the Auto-Whitelist plugin.
245 `use_bayes`: `<boolean>` ('default =' `1`)::
247 Whether to use the naive-Bayesian-style classifier.
249 `use_razor`: `<boolean>` ('default =' `1`)::
251 Whether to use Razor2, if it is available.
253 `wl_bounce_relays`: `<string>` ::
255 Whitelist legitimate bounce relays.
259 `allowhrefs`: `<boolean>` ('default =' `1`)::
261 Allow to view hyperlinks.
263 `authmode`: `<ldap | ldapticket | ticket>` ('default =' `ticket`)::
265 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.
267 `hostname`: `<string>` ::
269 Quarantine Host. Useful if you run a Cluster and want users to connect to a specific host.
271 `lifetime`: `<integer> (1 - N)` ('default =' `7`)::
273 Quarantine life time (days)
275 `mailfrom`: `<string>` ::
277 Text for 'From' header in daily spam report mails.
279 `port`: `<integer> (1 - 65535)` ('default =' `8006`)::
281 Quarantine Port. Useful if you have a reverse proxy or port forwarding for the webinterface. Only used for the generated Spam report.
283 `protocol`: `<http | https>` ('default =' `https`)::
285 Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
287 `reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
291 `viewimages`: `<boolean>` ('default =' `1`)::
293 Allow to view images.
297 `allowhrefs`: `<boolean>` ('default =' `1`)::
299 Allow to view hyperlinks.
301 `lifetime`: `<integer> (1 - N)` ('default =' `7`)::
303 Quarantine life time (days)
305 `viewimages`: `<boolean>` ('default =' `1`)::
307 Allow to view images.