Skip to main content

Email

MTA-STS: forcing TLS on every email destined for your inbox.

Published 2026-05-13 · Last updated 2026-05-13 · Vantyris editorial

MTA-STS (Mail Transfer Agent Strict Transport Security) does for email what HSTS does for web traffic. It tells sending mail servers that yours requires TLS, so they must refuse to deliver in plain text. Without it, an attacker on the network path between your customer's mail server and yours can downgrade the connection and read every email in transit. Adoption is still low (around 15% of UK domains in 2026). Setting it up is a five-minute job, and it puts your email security ahead of most of your peers.

What this means for your business

How to fix

Publish two records: an MTA-STS policy file at a well-known HTTPS URL on a subdomain, plus a DNS TXT record pointing at it. Start in 'testing' mode for a month, then move to 'enforce'.

  1. Create the mta-sts subdomain and host the policy file. At your DNS provider, point mta-sts.<yourdomain> to your web host. At your web host, serve a file at /.well-known/mta-sts.txt with contents like: version: STSv1 mode: testing mx: mx.yourdomain.com max_age: 86400 Replace the mx value with your actual MX host (look at your domain's MX record).
  2. Add the DNS TXT record. At _mta-sts.<yourdomain>, publish a TXT record like v=STSv1; id=2026052500;. The id is any string you change whenever you update the policy.
  3. Verify the policy is reachable. Open https://mta-sts.<yourdomain>/.well-known/mta-sts.txt in a browser. It should return your policy as plain text. If it 404s or shows the wrong content, fix the web-host config first.
  4. Add a TLS-RPT record for failure reporting. At _smtp._tls.<yourdomain>, publish a TXT record: v=TLSRPTv1; rua=mailto:tls-rpt@yourdomain.com. You'll receive daily aggregate reports from major mail providers when TLS fails.
  5. Watch for a month, then switch to enforce mode. After 30 days of clean TLS-RPT reports, change the policy file from mode: testing to mode: enforce. Bump the id in the DNS TXT record so sending servers refresh their cache.

Owner: Your DNS administrator + your web host (the policy file needs to live on HTTPS). · Time: 20 minutes for the initial setup, then a 30-day watch period before enforcing.

Common gotchas

How to verify the fix

Use Hardenize (hardenize.com) or Mecsa (mecsa.jrc.ec.europa.eu) for free MTA-STS + TLS-RPT validation. Or run a Vantyris scan, whose Email category checks both.

Cyber Essentials alignment

This finding informs the following Cyber Essentials control areas (the UK government's baseline scheme, a sound checklist in any country):

Vantyris is not a CE certifying body. The mapping above is informational.

Common follow-up questions

Is MTA-STS worth the effort if my email is hosted by Google or Microsoft?

Yes. Their outbound mail is fine without you doing anything. But MTA-STS protects INBOUND mail, the messages other companies send TO you. Without MTA-STS that path is still open to downgrade, wherever your mailbox lives.

How is MTA-STS different from DANE?

DANE uses DNSSEC to bind TLS certificate fingerprints to mail hosts. It's more cryptographically rigorous but depends on DNSSEC, which few SMEs have turned on. MTA-STS is the HTTPS-based alternative. It's easier to deploy and slightly less rigorous, and it's the pragmatic consensus standard today.

What if my sending counterparty doesn't support MTA-STS?

Only senders that fetch and honour the policy enforce it. Google and Microsoft do, and so do most other major mail providers. Smaller mail servers may not, and those connections still happen in plain text. Adoption is a one-way ratchet. The more senders honour it, the more of your mail is protected.

References

Related explainers

Want Vantyris to check your domain for this and 196 other problems?

The teaser scan is free and needs no card. A verified scan starts at $10€10£10A$15¥1,500AED 40 and comes with the workspace: finding workflow, score trend, three PDF layouts, share links and monitoring.

Written by Vantyris