MTA-STS: encrypted delivery for email sent to you
When other companies send email to you, it should travel in a locked van. MTA-STS is a rule that says "only deliver to me in a locked van". Without it, a trickster could make the van drive unlocked and read your mail.
What it is
Email between servers is usually encrypted, but by default a server will fall back to sending it in plain text if encryption fails. An attacker on the network can force that fallback.
MTA-STS publishes a small policy (a text file on https://mta-sts.yourbusiness.com) plus a TXT record at _mta-sts. Sending servers that support it then refuse to deliver to you without encryption.
What happens if it's not fixed
- Email to you can be read or changed in transit on a hostile network, without anyone noticing.
- Security questionnaires and government baselines increasingly ask for it.
- It's a low-urgency fix for most small businesses, but cheap insurance.
How to fix it
- Publish a policy file at
https://mta-sts.yourbusiness.com/.well-known/mta-sts.txtlisting your MX servers, starting inmode: testing. - Add the
_mta-stsTXT record below. Change the id every time you change the policy. - Add TLS reporting so you get told about failures.
- After a couple of weeks of clean reports, switch the policy to
mode: enforce.
Easier way: hosted MTA-STS. You add two CNAMEs and DNSFix serves the policy file with its own certificate and keeps it in step with your MX records.
Step by step at your DNS host
Check your domain and the report shows the exact clicks for your own DNS host. Not sure which company that is? Your nameservers tell you: find your DNS host.
Type: TXT Name: _mta-sts Value: v=STSv1; id=20261113
Steps for any DNS hostMost hosts ask for the same three things: type, name and value.
- Sign in to the company where your domain's DNS is managed (usually where you bought the domain).
- Find the DNS settings (often called DNS, Zone Editor, or Advanced DNS).
- Add a new record, or edit the existing one, using the values below, and save.
What to enter at your DNS host:
Type: TXT Name: _mta-sts Value: v=STSv1; id=20261113
Related
- TLS reporting (TLS-RPT)
- MX records: where your email is delivered
- STARTTLS: encryption between mail servers
- Lesson: MTA-STS, TLS-RPT and BIMI
This page explains: MTA-STS (encrypted mail delivery), Hosted MTA-STS.