Skip to main content
YesGov is a Public Benefit Corporation that works only with U.S. government agencies. Sign in

Home / Learn / MTA-STS and TLS-RPT

MTA-STS and TLS-RPT: keeping email private in transit

A guide for officials and staff. About 2 minutes to read.

In one sentence: MTA-STS makes other mail servers use an encrypted connection when they deliver email to your agency, and TLS-RPT sends you a report when that fails.

What it is

When one mail server delivers a message to another, it usually tries to encrypt the connection. But if anything gets in the way, most servers quietly fall back to sending the message unencrypted. Someone in a position to interfere with the connection can force that fallback on purpose.

  • MTA-STSA published policy that says: mail for our agency must only be delivered over an encrypted connection to these servers. If that is not possible, do not deliver it.
  • TLS-RPTAn address where other mail systems send daily reports about any problems they had connecting securely to you.

Both are free, published standards (RFC 8461 and RFC 8460) supported by the major mail providers.

Why it matters

To residents

Residents email their government about taxes, benefits, court matters and complaints. That correspondence should not be readable by anyone along the way.

To the agency

Vendors send invoices and bank details, and other agencies send case files. If mail can be forced to travel unencrypted, it can be read or changed in transit without either side knowing.

What happens without it

  • Mail sent to your agency can be pushed onto an unencrypted connection without the sender or the agency noticing.
  • A forged directory answer can send your mail to the wrong server, and the sending server has no policy telling it not to.
  • If encrypted delivery to you breaks, for example because a certificate expired, nobody tells you.

How to check yours

Run a free check. The Email section shows whether an MTA-STS policy and a TLS-RPT address are published.

The two records look like this:

_mta-sts.yourtown.gov    v=STSv1; id=20260101
_smtp._tls.yourtown.gov  v=TLSRPTv1; rua=mailto:tls-reports@yourtown.gov

MTA-STS also needs a small policy file at a web address, https://mta-sts.yourtown.gov/.well-known/mta-sts.txt, which lists your mail servers.

How to fix it

  1. Publish a TLS-RPT address first and read the reports for a couple of weeks.
  2. Publish an MTA-STS policy in "testing" mode. Nothing is blocked, but you learn whether any sender would fail.
  3. Switch the policy to "enforce". From then on, mail is only delivered to you over an encrypted connection.
  4. Keep the policy up to date when your mail servers change, and keep the certificate on the policy website renewed.

Questions to ask your IT provider

  • Do we publish MTA-STS in enforce mode, and a TLS-RPT address?
  • Who reads the TLS reports?
  • Can any mail to our agency arrive over an unencrypted connection today?

Or work with us today

You do not have to chase the answers yourself. Let us fix your issues, or work alongside your existing IT department or provider to get them fixed and keep them that way.

Check your agency

See whether this is in place for your website and email today. It is free and takes about a minute.

Run a free check