MTA-STS (Mail Transfer Agent Strict Transport Security) is an email security standard that enables organizations to require authenticated, encrypted connections when receiving email from supporting mail servers. It helps protect business communications against interception, mail server impersonation, and encryption downgrade attacks.
While SPF, DKIM, and DMARC focus on email authentication and domain protection, MTA-STS addresses the security of email as it travels between mail servers.
What Does MTA-STS Do?
Most modern email servers support Transport Layer Security (TLS) to encrypt communications. However, traditional SMTP generally uses opportunistic encryption, meaning that under certain circumstances, email may be delivered over an unencrypted connection.
MTA-STS allows domain owners to publish a security policy requiring supporting sending mail servers to establish a secure, authenticated connection before delivering email.
When properly configured, MTA-STS helps protect against:
- Man-in-the-middle attacks
- SMTP encryption downgrade attacks
- Email interception during transmission
- Receiving mail server impersonation
- Connections using invalid or untrusted TLS certificates
How Does MTA-STS Work?
Unlike SPF, DKIM, and DMARC, MTA-STS requires both a DNS record and a publicly accessible HTTPS policy file.
- A sending mail server checks the recipient’s domain for an MTA-STS DNS record.
- The sending server retrieves the domain’s security policy over HTTPS, unless it already has a valid cached policy.
- The policy identifies authorized receiving mail servers and the required security behavior.
- The sending server verifies that the destination mail server matches the policy and presents a valid TLS certificate.
- If the security requirements cannot be satisfied under an enforced policy, the sending server must not deliver the message over an insecure connection.
Example MTA-STS DNS Record
An MTA-STS DNS record is published as a TXT record under the _mta-sts hostname.
v=STSv1; id=2026120201;What it means:
v=STSv1: Identifies the MTA-STS protocol version.id=2026120201: Identifies the current policy revision. This value should change whenever the policy is updated.
The DNS record announces the availability of an MTA-STS policy. The actual security requirements are defined in a separate HTTPS policy file.
Example MTA-STS Policy File
The following is an example policy for a domain using traditional Microsoft 365 Exchange Online mail protection infrastructure:
version: STSv1
mode: enforce
mx: *.mail.protection.outlook.com
max_age: 604800The policy must be available at:
https://mta-sts.example.com/.well-known/mta-sts.txtPolicy parameters:
version:Identifies the policy format version.mode:Determines whether the policy is being tested, enforced, or disabled.mx:Identifies permitted receiving mail server hostnames.max_age:Specifies how long sending mail servers may cache the policy, measured in seconds.
The receiving mail server names must match the organization’s actual MX infrastructure. Organizations using newer Microsoft 365 MX destinations, third-party email gateways, or other email platforms may require different policy entries.
MTA-STS Policy Modes
Testing Mode (mode: testing)
Allows organizations to evaluate their transport security configuration without enforcing delivery restrictions. When combined with TLS-RPT, testing mode helps identify potential problems before enforcement.
Enforcement Mode (mode: enforce)
Requires supporting sending mail servers to comply with the published security policy. Messages cannot be delivered over connections that fail the policy’s security requirements.
Disabled Mode (mode: none)
Indicates that the domain is no longer requesting MTA-STS protection. Previously cached policies may remain effective until they are refreshed or expire.
MTA-STS and TLS-RPT
MTA-STS is commonly implemented alongside TLS-RPT (SMTP TLS Reporting).
MTA-STS establishes the security requirements for inbound email delivery, while TLS-RPT provides visibility into whether those requirements are being met.
Together, they allow organizations to strengthen email transport security while monitoring certificate problems, encryption failures, and policy configuration issues.
Limitations of MTA-STS
- Protection depends on the sending mail server supporting MTA-STS.
- MTA-STS protects email in transit between participating mail servers, not messages stored in mailboxes.
- It does not provide end-to-end message encryption.
- It does not replace SPF, DKIM, DMARC, or anti-phishing protection.
- Incorrect policies can cause legitimate email delivery delays or failures.
- The policy hosting infrastructure and its TLS certificate must be maintained.
MTA-STS for Microsoft 365 and Google Workspace
Microsoft 365 Exchange Online and Google Workspace support MTA-STS. Organizations using these platforms can strengthen inbound email transport security by publishing properly configured policies for their custom domains.
Implementation does not generally require changing email providers or migrating existing mailboxes. It requires coordination between DNS configuration, policy hosting, and the organization’s receiving mail infrastructure.
Benefits of MTA-STS for Your Business
- Strengthens encrypted email delivery
- Reduces exposure to email interception
- Helps prevent encryption downgrade attacks
- Improves protection against mail server impersonation
- Complements existing email authentication and cybersecurity controls
- Supports a more comprehensive email security strategy
Need Help Implementing MTA-STS?
Forward Technologies helps businesses configure, test, deploy, and maintain MTA-STS policies as part of a comprehensive email security strategy.
We implement the same email security standards across our own infrastructure that we recommend to our clients, including SPF, DKIM, DMARC, MTA-STS, and TLS-RPT.
Whether your organization uses Microsoft 365, Google Workspace, or another hosted email platform, we can help strengthen your email transport security without unnecessary disruption to legitimate mail flow.
Contact us for expert email security consulting »
Technical reference: RFC 8461: SMTP MTA Strict Transport Security (MTA-STS).