MTA-STS tells sending mail servers that your mail servers require encrypted connections with a valid certificate. It has two parts:
- a TXT record at
_mta-sts.your-domain.com(e.g.v=STSv1; id=20260101), - a policy file at
https://mta-sts.your-domain.com/.well-known/mta-sts.txtwith the mode (testingorenforce), the allowed mail servers (mx:) and the validity (max_age).
PutBerry checks both parts and whether the mail servers in the policy match your MX records. Start with mode: testing and TLS-RPT reports before switching to enforce. Change the id in the TXT record whenever you change the file.
mta-sts, policy, https, enforce, testing