-
Notifications
You must be signed in to change notification settings - Fork 36
EOP-164: add support pages for MTA-STS in Momentum #760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
158b14d
add support pages for MTA-STS in Momentum
juliebin 30f2f6b
update
juliebin b34fc8b
update debug_flags for MTA-STS
juliebin 07da5a2
minor format
juliebin fd65939
mta_sts ec_console commands
juliebin 43de084
more minor changes
juliebin 0b767dc
minor update
juliebin 68aac62
minor update
juliebin 57d115d
add mta-sts config options and control commands into summaries
juliebin ea735d4
review comments
juliebin 25360eb
link to mta-sts config options
juliebin d4fcc78
add new file
juliebin e3f70dd
update link
juliebin c1c29b3
typos
juliebin 9827faf
EOP-209: DANE doc (#767)
juliebin ea976ab
EOP-164: Fixing pending changes from reviews
dkoerichbird File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.