Skip to content

Commit 453622a

Browse files
committed
Add the "MTA-STS" note.
1 parent 8f56ba6 commit 453622a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

content/notes/MTA-STS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
+++
2+
title = "MTA-STS"
3+
+++
4+
5+
A quote from [RFC 8461](https://datatracker.ietf.org/doc/html/rfc8461):
6+
7+
> SMTP MTA Strict Transport Security (MTA-STS) is a mechanism enabling mail service providers (SPs) to declare their ability to receive Transport Layer Security (TLS) secure SMTP connections and to specify whether sending SMTP servers should refuse to deliver to MX hosts that do not offer TLS with a trusted server certificate.
8+
9+
Links:
10+
11+
- [RFC 8461](https://datatracker.ietf.org/doc/html/rfc8461)
12+
13+
## Setup
14+
15+
The setup essentially boils down to two steps:
16+
17+
1. Add a TXT DNS record:
18+
19+
```
20+
_mta-sts.example.com. IN TXT "v=STSv1; id=20160831085700Z;"
21+
```
22+
23+
2. Add a policy at `https://mta-sts.example.com/.well-known/mta-sts.txt`:
24+
25+
```
26+
version: STSv1
27+
mode: enforce
28+
max_age: 604800
29+
mx: mail.example.com
30+
```

0 commit comments

Comments
 (0)