-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EOP-164: add support pages for MTA-STS in Momentum (#760)
- Loading branch information
Showing
19 changed files
with
518 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "enable_dane" | ||
description: "config option to enable application of DANE TLS verification for outbound mails" | ||
--- | ||
|
||
<a name="config.enable-dane"></a> | ||
## Name | ||
|
||
enable_dane — specify whether Momentum should apply DANE TLS verification for outbound emails | ||
|
||
## Synopsis | ||
|
||
`enable_dane = "true|false"` | ||
|
||
## Description | ||
|
||
This option is only effective when [dane module](/momentum/4/modules/dane) is configured and | ||
[use_dane](/momentum/4/config/use-dane) is `true` for a recipient domain. | ||
|
||
This option specifies whether Momentum should try to apply the DANE TLS verification rules defined | ||
in TLSA record when sending emails to a remote site. | ||
|
||
The default value is `true` when `use_dane` is `true` for a domain. | ||
|
||
|
||
## Scope | ||
|
||
`enable_dane` is valid in the binding, binding_group, domain and global scopes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "enable_mta_sts" | ||
description: "config option to enable MTA-STS policy application for outbound mails" | ||
--- | ||
|
||
<a name="config.enable-mta-sts"></a> | ||
## Name | ||
|
||
enable_mta_sts — specify whether Momentum should apply MTA-STS policies for outbound emails. | ||
|
||
## Synopsis | ||
|
||
`enable_mta_sts = "true|false"` | ||
|
||
## Description | ||
|
||
This option is only effective when [use_mta_sts](/momentum/4/config/mta-sts/use-mta-sts) is `true` | ||
for a recipient domain. | ||
This option specifies whether Momentum should try to apply the retrieved MTA-STS policy when sending | ||
emails to a remote site. See [MTA-STS support in Momentum](/momentum/4/mta-sts) for more details. | ||
|
||
|
||
When this option is `true`, the MTA-STS policy mode will be considered along with the configuration | ||
values for [TLS](/momentum/4/config/ref-tls) and [TLS_Verify](/momentum/4/config/tls-verify). | ||
The more strict policy will apply: | ||
|
||
- When the MTA-STS policy mode is `enforce`, regardless of the | ||
values for `TLS` and `TLS_Verify`, Momentum will enforce TLS (equivalent to `TLS = required`) and | ||
will fail the delivery upon a failed certificate validation (equivalent to `TLS_Verify = host`). | ||
- When the MTA-STS policy mode is `testing`, Momentum will apply `TLS = ifavailable` (unless | ||
`TLS = required` is specified) and `TLS_Verify = optional` (unless `TLS_Verify = host` is | ||
specified). | ||
- When the MTA-STS policy mode is `none`, the policy will be ignored and the configuration values for | ||
`TLS` and `TLS_Verify` will be respected. | ||
|
||
The default value is `true` when `use_mta_sts` is `true` for a domain. | ||
|
||
|
||
## Scope | ||
|
||
`enable_mta_sts` is valid in the domain, binding, binding_group, and global scopes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "Category File" | ||
type: "custom" | ||
name: "MTA-STS Configuration Options Reference" | ||
description: "MTA-STS configuration Options index" | ||
--- | ||
|
||
- [use_mta_sts](/momentum/4/config/mta-sts/use-mta-sts) | ||
- [enable_mta_sts](/momentum/4/config/mta-sts/enable-mta-sts) | ||
- [mta_sts_dns_cname_max_depth](/momentum/4/config/mta-sts/mta-sts-dns-cname-max-depth) | ||
- [mta_sts_policy_store](/momentum/4/config/mta-sts/mta-sts-policy-store) | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
content/momentum/4/config/mta-sts/mta-sts-dns-cname-max-depth.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "mta_sts_dns_cname_max_depth" | ||
description: "config option on how many continuous CNAME lookups are allowed when doing MTA-STS TXT | ||
record lookup for a domain" | ||
--- | ||
|
||
<a name="config.mta-sts-dns-cname-max-depth"></a> | ||
## Name | ||
|
||
mta_sts_dns_cname_max_depth — specifies how many continuous `CNAME` lookups are allowed when doing DNS | ||
lookups for MTA-STS TXT record for a domain. Exceeding the configured value will be treated as a DNS | ||
lookup failure, which will be further treated as no MTA-STS policy available. | ||
|
||
## Synopsis | ||
|
||
`mta_sts_dns_cname_max_depth = 5` | ||
|
||
## Description | ||
|
||
Momentum supports MTA-STS policy delegation, which points the `_mta-sts` TXT record for the policy | ||
domain via `CNAME` (to the `_mta-sts` record maintained by the provider). Momentum's DNS lookup | ||
will follow the `CNAME`s. To avoid a DNS lookup loop, Momentum uses this config option to limit how | ||
many continuous `CNAME` lookups can happen before claiming a lookup failure. | ||
|
||
The default value is `5`. | ||
|
||
|
||
## Scope | ||
|
||
`mta_sts_dns_cname_max_depth` is valid in the domain and global scopes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "mta_sts_policy_store" | ||
description: "the location to store the MTA-STS policy" | ||
--- | ||
|
||
<a name="config.mta-sts-policy-store"></a> | ||
## Name | ||
|
||
mta_sts_policy_store — specifies the location to keep the MTA-STS policy details for the domains. | ||
|
||
## Synopsis | ||
|
||
`mta_sts_policy_store = "/var/spool/ecelerity/mtasts"` | ||
|
||
## Description | ||
|
||
Momentum stores MTA-STS policy for a domain in a file on disk, and accesses the HTTPS endpoint to refresh the | ||
policy once every 24 hours. This config option specifies the directory where the policies are stored | ||
on the disk. | ||
|
||
The default value is `/var/spool/ecelerity/mtasts`. | ||
|
||
|
||
## Scope | ||
|
||
`mta_sts_policy_store` is valid in the global scope. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "use_mta_sts" | ||
description: "config option to enable MTA-STS policy fetching for a domain" | ||
--- | ||
|
||
<a name="config.use-mta-sts"></a> | ||
## Name | ||
|
||
use_mta_sts — specify whether Momentum should do MTA-STS policy fetching for a domain. | ||
|
||
## Synopsis | ||
|
||
`use_mta_sts = "true|false"` | ||
|
||
## Description | ||
|
||
This option specifies whether Momentum shall attempt to discover the recipient domain's MTA-STS | ||
policy (via a DNS TXT lookup to retrieve the MTA-STS policy ID and a HTTPS lookup to retrieve the | ||
MTA-STS policy). | ||
|
||
The default value is `false`. | ||
|
||
|
||
## Scope | ||
|
||
`use_mta_sts` is valid in the domain and global scopes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "tlsa_expire_interval" | ||
description: "tlsa expire interval how often to check for expired TLSA DNS records" | ||
--- | ||
|
||
## Name | ||
|
||
tlsa_expire_interval — how often to check for expired TLSA records | ||
|
||
## Synopsis | ||
|
||
`tlsa_expire_interval = 3600` | ||
|
||
## Description | ||
|
||
How often the garbage collector should check for expired TLSA records. During email delivery, | ||
a related TLSA record will be checked for expiration and removed from memory if expired. | ||
The purpose of garbage collection controlled by this configuration option is to retire | ||
the stale TLSA records which are not actively in use. | ||
|
||
The default is `3600` seconds. | ||
|
||
## Scope | ||
|
||
`tlsa_expire_interval` is valid in the global scope. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
lastUpdated: "06/01/2024" | ||
title: "use_dane" | ||
description: "config option to enable DANE TLSA DNS lookup for a domain" | ||
--- | ||
|
||
<a name="config.use-dane"></a> | ||
## Name | ||
|
||
use_dane — specify whether Momentum should check DNS record DNSSEC status and look up TLSA | ||
records if applicable. | ||
|
||
## Synopsis | ||
|
||
`use_dane = "true|false"` | ||
|
||
## Description | ||
|
||
This option is only effective when [dane module](/momentum/4/modules/dane) is configured. | ||
|
||
This option specifies whether Momentum shall check the DNSSEC status of a domain's MX and A record, | ||
and if both pass DNSSEC validation, corresponding TLSA record will be fetched and DNSSEC status | ||
checked. | ||
|
||
The default value is `false`. | ||
|
||
|
||
## Scope | ||
|
||
`use_dane` is valid in the domain and global scopes. |
Oops, something went wrong.