maddy

Fork https://github.com/foxcpp/maddy

git clone git://git.lin.moe/go/maddy.git

 1# Misc checks
 2
 3## Configuration directives
 4
 5Following directives are defined for all modules listed below.
 6
 7### fail_action `ignore` | `reject` | `quarantine`
 8Default: `quarantine`
 9
10Action to take when check fails. See [Check actions](../actions/) for details.
11
12---
13
14### debug _boolean_
15Default: global directive value
16
17Log both successful and unsuccessful check executions instead of just
18unsuccessful.
19
20---
21
22### require_mx_record
23
24Check that domain in MAIL FROM command does have a MX record and none of them
25are "null" (contain a single dot as the host).
26
27By default, quarantines messages coming from servers missing MX records,
28use `fail_action` directive to change that.
29
30---
31
32### require_matching_rdns
33
34Check that source server IP does have a PTR record point to the domain
35specified in EHLO/HELO command.
36
37By default, quarantines messages coming from servers with mismatched or missing
38PTR record, use `fail_action` directive to change that.
39
40---
41
42### require_tls
43
44Check that the source server is connected via TLS; either directly, or by using
45the STARTTLS command.
46
47By default, rejects messages coming from unencrypted servers. Use the
48`fail_action` directive to change that.