← Glossary

What is MTA-STS?

A policy that tells sending servers to deliver mail to your domain only over validated TLS.

How it works in practice

It protects inbound mail against downgrade attacks. The domain publishes a DNS record and a policy file over HTTPS listing its MX hosts and whether to enforce TLS. It protects mail sent to you, not mail you send, so it doesn't affect your outbound deliverability directly.

What it protects

SMTP between servers starts unencrypted and upgrades to TLS only if both sides agree, so an attacker in the path can strip the upgrade or present a fake certificate. MTA-STS lets a domain say that mail sent to it must use TLS with a valid certificate, and which mail servers are allowed to receive it.

How it is published

Two parts: a DNS TXT record at _mta-sts.yourdomain.com with a version and an id, and a policy file served over HTTPS at mta-sts.yourdomain.com/.well-known/mta-sts.txt. The policy lists your MX hosts and a mode: testing (report only), enforce (refuse non-TLS delivery) or none. Changing the policy means changing the id in the DNS record.

What it does not do

MTA-STS protects mail coming to your domain, not mail you send, so it has no direct effect on your outbound deliverability or inbox placement. It is a good-practice security control, worth deploying once SPF, DKIM and DMARC are in place, and best paired with TLS-RPT reports.

The common mistake

Expecting MTA-STS to improve inbox placement. It's a security control for receiving mail.

Frequently asked questions

Do I need MTA-STS to send cold email?

No. It protects inbound mail. Fix authentication and list quality first.

What is the difference between testing and enforce mode?

In testing mode senders report TLS failures but still deliver. In enforce mode they refuse to deliver if TLS validation fails.

Which providers honour it?

Large providers such as Gmail and Microsoft check MTA-STS policies when they send mail to your domain.

Related terms

Not sure whether this is what's hurting your inbox placement? A free deliverability review finds the real cause.

How we help: Consulting · Private infrastructure · Managed mailboxes · Monthly support