TL;DR
- MTA-STS helps protect emails in transit by requiring secure TLS connections between mail servers.
- The “MTA-STS policy is missing” error means a sending server could not find or fetch your domain’s MTA-STS policy file.
- Common causes include missing DNS records, incorrect subdomain settings, HTTPS certificate issues, file permission errors, and policy file formatting problems.
- To fix the error, publish the correct MTA-STS DNS record, create and host your policy file at the required location, and check your TLS certificate and server settings.
- EasyDMARC’s MTA-STS lookup tool can help you check your configuration and identify setup issues.
MTA-STS helps protect emails while they are being sent between mail servers by using TLS encryption. However, if your MTA-STS policy file is missing or cannot be found, you may see the “MTA-STS policy is missing” error. This can happen due to issues with your DNS records, MTA-STS subdomain, web server, SSL/TLS certificate, or policy file. These issues can stop external mail servers from finding your policy and checking your settings.
In this guide, we will explain what the MTA-STS policy missing error means, what causes it, and how to fix it. We will also cover the steps you need to follow to set up and publish your MTA-STS policy correctly.
What is MTA- STS?
MTA-STS helps make email safer when messages are sent between mail servers. For it to work, the sending server must support it, and the receiving domain must have a policy set up.
An MTA-STS policy tells other mail servers which mail servers on your domain can receive emails using MTA-STS. To use it for your domain, you need to create and host an MTA-STS policy file. This file helps external mail servers send emails to your domain using TLS encryption and a newer version of TLS, such as TLS 1.2 or higher.
If your domain does not have a policy file, or if the file is not updated properly, you may see an error like “MTA-STS policy is missing: STSFetchResult.NONE.” This means the sending server tried to find your MTA-STS policy file but could not find it.
What are the Prerequisites for MTA-STS
Before setting it up, make sure:
- Your mail servers use TLS 1.2 or higher: MTA-STS requires supporting mail servers to use a secure TLS connection when delivering emails. Using TLS 1.2 or a newer version helps protect email data while it travels between mail servers.
- Your TLS certificates follow the current RFC requirements: The certificates must be valid for the mail server’s hostname and meet the requirements for secure SMTP connections. This helps receiving mail servers verify that they are connecting to the correct server.
- Your certificates have not expired: An expired TLS certificate can cause certificate validation to fail, making it difficult for other mail servers to establish a trusted connection. Make sure your certificates are renewed before their expiration dates.
- Your server certificates are signed by a trusted root certificate authority: The certificate should be issued by a trusted Certificate Authority (CA) so that receiving mail servers can verify its authenticity. Self-signed certificates may not pass the required certificate validation checks.
6 Common Causes of the “MTA-STS Policy Is Missing” Error
The “MTA-STS policy is missing” error can happen for several reasons. In most cases, the problem is with the DNS record, the policy file, or the server hosting the file. Here are some common causes to check.
- DNS Record Problems
Your _mta-sts DNS TXT record may be missing, have a syntax error, or contain the wrong policy version. The record may also have been deleted during another DNS change. Sometimes, DNS changes can also take time to propagate. If external mail servers cannot find the record, they will not try to fetch the policy file.
- MTA-STS Subdomain Issues
The mta-sts subdomain, such as mta-sts.yourdomain.com, must exist and point to the right server. If the subdomain is missing or does not resolve correctly, external servers will not be able to reach your policy file.
- Web Server Problems
Your MTA-STS policy file must be available over HTTPS at the correct path- /.well-known/mta-sts.txt
Web server settings can sometimes prevent the file from being reached. For example, the document root may be incorrect, or the .well-known directory may be missing. In these cases, the file may exist on your server but still be unavailable to external mail servers.
- SSL/TLS Certificate Problems
The MTA-STS policy file must be served over HTTPS. If the SSL/TLS certificate has expired, has an incomplete certificate chain, or is self-signed and not trusted, external servers may not be able to fetch the policy file.
- File Location or Permission Errors
The policy file may be in the wrong folder or have file permissions that stop the web server from reading it. This can happen after a server migration or when DNS and web hosting are managed by different teams.
- Policy File Syntax Problems
A policy file can also have formatting or syntax problems. Incorrect directives, formatting errors, or encoding issues can make the file unusable, even when the file is available on the server. Some validators may report this as a missing policy.
5 Steps to Fix the “MTA-STS Policy Is Missing” Error
Fixing your setup requires a few changes to your DNS records and policy file. The steps below walk you through each part of the setup:
Step 1: Create and Publish an MTA-STS DNS TXT Record
First, create an MTA-STS DNS record for your domain. You can use the EasyDMARC MTA-STS record generator to create the right DNS record for your domain.
Step 2: Choose a Policy Mode
MTA-STS has two policy modes:
The Testing mode is useful when you are setting up MTA-STS for the first time. It lets you receive SMTP TLS reports about problems with your policy, encrypted connections, or email delivery. You can use these reports to find and fix problems before you start enforcing TLS encryption.
Once you have tested your setup, you can switch to Enforce mode. In this mode, you will still receive TLS reports, but email connections will require TLS encryption. This helps protect emails from being changed or tampered with while they are being sent.
Step 3: Create the MTA-STS Policy File
Next, create an MTA-STS policy file for your domain and host it on a public web server. Each domain needs its own policy file, and a single domain can also have only one policy file. Having multiple policy files for the same domain can cause configuration problems.
Step 4: Publish Your MTA-STS Policy File
Your MTA-STS policy file must be hosted on a public web server that other mail servers can access. The server must support HTTPS.
If your domain already has a public web server:
- Create a subdomain that starts with mta-sts, such as mta-sts.yourdomain.com.
- Store the policy file inside a .well-known directory.
- Add the policy file URL to your MTA-STS DNS record. This allows sending servers to find and download the policy file.
Step 5: Activate MTA-STS and TLS-RPT
Finally, publish your MTA-STS and TLS-RPT DNS records for your domain. Both records use the TXT record type and are published under their respective DNS names, _mta-sts and _smtp._tls.
MTA-STS helps make sure incoming email connections use TLS encryption when your policy requires it. This helps prevent emails from being sent over an insecure connection.
TLS-RPT sends you reports about TLS and email delivery problems from external mail servers. These reports can help you find and fix problems with your MTA-STS setup.
Once your DNS records are published, you can use the EasyDMARC MTA-STS record lookup to check if they are set up correctly.
Also, if you happen to change your MTA-STS policy file, make sure you update the file on your public web server. You should also update the related DNS record when needed. The same applies when you add or change the mail servers listed in your policy.
Get Expert Help With MTA-STS
Setting up MTA-STS can be tricky. You need to manage DNS records, policy files, certificates, and mail server settings. One small mistake can stop external mail servers from finding your policy.
EasyDMARC can help. Our email security experts can guide you through the MTA-STS setup, identify configuration issues, and help you resolve problems such as the “MTA-STS policy is missing” error. You do not have to handle every technical step on your own. With expert help, you can set up MTA-STS correctly and keep your email security on track.
Need help with your MTA-STS setup? Contact EasyDMARC to speak with an expert.
Frequently Asked Questions
MTA-STS (Mail Transfer Agent Strict Transport Security) is an email security protocol that helps protect email delivery by enforcing secure TLS connections between sending and receiving mail servers.
An MTA-STS record is a DNS TXT record published under the _mta-sts subdomain. It tells sending mail servers that your domain supports MTA-STS and provides a policy identifier.
An MTA-STS policy is a file hosted on your domain that tells sending mail servers which mail servers can receive emails and whether TLS encryption must be enforced.
Your MTA-STS policy file should be hosted on a public web server that supports HTTPS. It should be available through the .well-known/mta-sts.txt path on your MTA-STS subdomain.
Yes. MTA-STS policy files must be available over HTTPS. If the SSL/TLS certificate has expired or cannot be trusted, external mail servers may not be able to access the policy file.
External mail servers may not be able to find your MTA-STS policy. Depending on your policy mode and the sending server’s behavior, this can cause email delivery or TLS security issues.

