MTA-STS lookup
Enter a domain to check its MTA-STS record and the policy file, and whether every MX server is covered.
Quick answer: MTA-STS makes other mail servers deliver to your domain only over verified TLS. It needs a TXT record at _mta-sts.yourdomain.com and a policy file at mta-sts.yourdomain.com. This tool checks both and whether your MX hosts are covered.
What is MTA-STS?
MTA-STS (Mail Transfer Agent Strict Transport Security, RFC 8461) tells other mail servers that they must deliver mail to your domain over an encrypted, verified TLS connection. Without it, SMTP encryption is opportunistic, which means an attacker on the network can force mail to be sent unencrypted by stripping the STARTTLS offer.
MTA-STS has two parts. A TXT record at _mta-sts.yourdomain.com announces that a policy exists and carries an id. The policy itself is a small text file at https://mta-sts.yourdomain.com/.well-known/mta-sts.txt.
How to use the MTA-STS lookup
- Enter your domain, for example
example.com. - Press Check MTA-STS. The tool reads the TXT record, then fetches the policy file from our test server.
- Read the checks for mode, max_age and MX coverage.
What a policy file looks like
A minimal enforcing policy contains four lines: version: STSv1, mode: enforce, one or more mx: lines naming your mail servers, and max_age: 604800. The mx lines can use a wildcard such as *.mail.protection.outlook.com.
How to read the results
- Policy id. Any string of letters and digits. Change it whenever you change the policy so senders re-fetch it.
- mode: testing. Senders report failures but still deliver. Use it first and watch TLS-RPT reports.
- mode: enforce. Senders refuse to deliver to servers that cannot pass TLS validation.
- max_age. How long senders may cache the policy. At least one week; many use a year.
- MX not covered. A real MX host is missing from the policy. Senders that honour MTA-STS will refuse to deliver to it. Fix it before enforcing.
- Redirects. The policy URL must not redirect. Serve the file directly.
Common MTA-STS mistakes
- No valid certificate on the mta-sts host. The policy is fetched over HTTPS and needs a certificate that is valid for mta-sts.yourdomain.com.
- Forgetting to change the id. Senders keep the cached policy until the id changes.
- Enforcing too early. Start in testing mode, publish TLS-RPT, and move to enforce when reports are clean.
- Mail host certificate mismatch. The certificate of the MX server must match its host name and be valid.
Last reviewed November 20, 2026 by the LeadNurturix cold email team.
MTA-STS lookup FAQ
What does MTA-STS do?
It lets a domain require that incoming mail is delivered over TLS to named mail servers with valid certificates. It protects against downgrade and interception attacks on mail in transit.
Is MTA-STS required?
No. It is optional, but it is part of good email security and often appears in compliance checklists. Gmail, Microsoft and Yahoo honour it when they send to you.
Do I need to host a website for MTA-STS?
You need a small HTTPS site on mta-sts.yourdomain.com that serves one text file. This can be a simple static host or a CDN rule. It does not need to look like a website.
What is the difference between testing and enforce mode?
In testing mode senders deliver mail even when TLS validation fails, but they report the failure if you have TLS-RPT. In enforce mode they stop and retry later.
How do I update an MTA-STS policy?
Edit the policy file and change the id value in the _mta-sts TXT record. Senders see the new id and fetch the new file.
How is MTA-STS different from DANE?
Both secure SMTP TLS. DANE uses DNSSEC and TLSA records and has little uptake among big providers. MTA-STS uses HTTPS and works without DNSSEC, which is why it is far more common.
Will MTA-STS improve my cold email deliverability?
MTA-STS protects mail sent to you, not mail you send, so it does not affect your outbound reputation. It does show good security hygiene for your domain.
What if my mail provider does not support MTA-STS?
Check with the provider. Google Workspace and Microsoft 365 both document the exact mx lines to use. If your provider cannot offer valid TLS on all MX hosts, stay in testing mode.
How do I see problems?
Publish a TLS-RPT record. Senders then email you daily reports about TLS failures when they deliver to you.
Need the fixes done for you?
LeadNurturix is a cold email agency. We set up sending domains and mailboxes with SPF, DKIM and DMARC done right, build targeted B2B lead lists, write the sequences and run the campaigns. Start with a free deliverability audit and we will tell you exactly what to change.
More deliverability tools
Every free deliverability tool we offer
SPF, DKIM, DMARC, BIMI, MTA-STS and TLS-RPT checks, blocklist and DNS lookups, DNSSEC records, server tests and generators. All free, no signup.
Email checks
Email deliverability test Domain scanner SPF checker DKIM record checker DMARC checker BIMI lookup MTA-STS lookup TLS-RPT lookup Blacklist check Test email server Email copy spam checker
Create and fix
SPF record generator DKIM record generator DMARC record generator Anti-spam email fixer Cold email calculator
DNS lookups
DNS lookup DNS check DNS trace MX lookup TXT lookup CNAME lookup AAAA lookup SOA lookup SRV lookup Reverse DNS lookup
DNSSEC and special records
DS lookup DNSKEY lookup RRSIG lookup NSEC lookup NSEC3PARAM lookup CERT lookup IPSECKEY lookup LOC lookup