Merge #1961
1961: Implement MTA-STS and DANE validation r=mergify[bot] a=nextgens ## What type of PR? Feature ## What does this PR do? Implement MTA-STS: the tls_policy_map will now be auto-configured based on the policies published by the various domains. A FAQ entry has been added to document how to publish a policy using Mailu. As configured by default there is no persistence. If we want persistence we can have either sqlite3 (with a db in the mailqueue) or redis... This also introduces a DEFER_ON_TLS_ERROR (default: True) setting that will harden policy enforcement and defer emails that shouldn't be delivered. Turn it off if you never want to set an override. ### Related issue(s) - closes #1798 - closes #707 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>master
commit
e38844cfcd
@ -0,0 +1,10 @@
|
||||
path: "/tmp/mta-sts.socket"
|
||||
mode: 0600
|
||||
shutdown_timeout: 20
|
||||
cache:
|
||||
type: internal
|
||||
options:
|
||||
cache_size: 10000
|
||||
default_zone:
|
||||
strict_testing: {{ DEFER_ON_TLS_ERROR |default('true') }}
|
||||
timeout: 4
|
@ -0,0 +1 @@
|
||||
Implement MTA-STS and DANE validation. Introduce DEFER_ON_TLS_ERROR (default: True) to harden or loosen the policy enforcement.
|
Loading…
Reference in New Issue