MTA-STS

Policy, TXT record and a check that the policy is actually being served.

Build a policy

Produces the three pieces to publish, which must stay consistent with each other.

Mode
Receiving servers

One per line. The wildcard covers a single level: *.example.com covers mx1.example.com but not a.mx1.example.com nor example.com.

How long a sender keeps the policy. The longer it is, the better it protects — and the longer a correction takes to spread.