yourDMARC Logo
  • MTA-STS Lookup
  • MTA-STS Generator

Generate MTA-STS: the TXT record and policy file for your MX hosts

This generator produces both parts of an MTA-STS deployment: the v=STSv1 TXT record for _mta-sts.yourdomain.com and the policy file to serve at https://mta-sts.yourdomain.com/.well-known/mta-sts.txt. Choose testing mode first, list your MX hosts and set max_age, then switch to enforce once TLS-RPT reports are clean.

See it in Action

How to read this result

  • TXT record: publish it at _mta-sts.yourdomain.com. Change the id every time you edit the policy file.
  • Policy file: host it at https://mta-sts.yourdomain.com/.well-known/mta-sts.txt with a valid certificate for that name.
  • mode: start with testing; switch to enforce once TLS-RPT reports show no failures for your MX hosts.
  • mx: list every hostname that appears in your MX records, or use a wildcard pattern such as *.mail.example.com.
  • max_age: shorter while testing, longer (604800 seconds or more) once enforcing.

Published it? Check record and policy together

FAQ

Frequently Asked Questions

MTA-STS policies enhance email security by enforcing encrypted connections, preventing downgrade attacks, and ensuring the integrity and confidentiality of email communications.

The tool generates MTA-STS records and policies for your domain, allowing you to enforce or test secure email connections based on your selected settings.

You can choose from three policy types: None (disables the policy), Testing (allows both secure and insecure connections), and Enforce (only allows secure connections).

The 'Maximum Age' specifies how long the generated MTA-STS policy is valid before it needs to be refreshed or updated.

Yes, the tool can generate MTA-STS records for multiple domains; simply input each domain and configure the settings accordingly.

Once generated, you need to add the MTA-STS record to your domain's DNS settings to activate the policy.

'Testing' mode allows both secure and insecure connections for troubleshooting, while 'Enforce' mode mandates secure connections only, enhancing security.

MTA-STS policies enhance email security by ensuring that email transmissions are encrypted, preventing unauthorized access and reducing the risk of attacks.

The policy should be updated as needed, particularly if there are changes in your email infrastructure or security requirements.

Yes, you can use the 'Testing' policy mode to evaluate the effects of MTA-STS policies on your email setup before fully enforcing secure connections.

Emails Analyzed

0

DMARC Reports Processed

0

Sending Sources Checked

0

Domains Scanned

0

Used and Trusted by Industry Leaders

Badge BackdropUser Headshot

‘yourDMARC secures emails, saves our time. Our small healthcare practice struggled with email security. yourDMARC's DMARC/DKIM combo and real-time alerts are a lifesaver! HIPAA compliance is a breeze now, and their support team is top-notch. ‘

Anshul A. Healthcare Manager

Schedule a Demo

Discover more about yourDMARC and quickly book a demo with our sales representatives.

Go to schedule demo

Choose the Right Plan

Explore our flexible plans and pricing to find the perfect email security solution for your business today.

Go to pricing

Learn more

Explore our latest blogs for expert insights on spoofing prevention and email compliance best practices.

Go to blogs
DMARC Footer

With yourDMARC, boosting email campaign deliverability, safeguarding brand identity, and fortifying business reputation is a breeze.

As a global team, we’re always available. Let’s talk!
Tools
  • DMARC
  • SPF
  • DKIM
  • BIMI
  • MTA STS
  • TLS RPT
  • BLACKLIST
Solutions
  • Startup
  • Small/Mid Business
  • Pricing
  • Enterprise
  • DMARC Monitoring
  • Email Compliance
  • Hosted DMARC
  • DMARC Enforcement
  • Bulk Sender Requirements
  • DMARC by Platform
  • Compare DMARC Tools
  • Non-Profit
  • Healthcare
  • Education
  • Info Tech
  • Government
  • Retail
  • Finance
  • Marketing
  • Insurance
Management
  • Referral Program
  • MSP/MSSP Program
Partnership
  • Manage Services
  • Email Marketing
Resources
  • Blog
  • Free Tools
  • Changelog
contact@yourdmarc.com
Terms of ServicePrivacy Policy
FacebookLinkedInInstagramYouTube

© 2026 yourDMARC

Monitored by Opservo

Download to read the eBook

Ebook Support
Get Support

Contact Now

Try yourDMARC Sign Up