Free checkCould someone send invoices in your name? Check your domain in ten seconds.

Cyber security, 29 November 2026, 3 min read

MTA-STS: making sure email to you cannot be read on the way

Email sent to you normally travels scrambled, but nothing insists on it. This is the setting that insists, and for most businesses it is a tidy-up.

When another company emails you, their email system connects to yours and the two agree to scramble the conversation so nobody in between can read it. Nearly all email travels this way now.

The weakness is in how they agree. The sending system asks whether yours supports encryption, and if the answer never arrives it sends the message in the clear. Someone able to interfere with the connection can remove the answer and read what follows. The attack is called a downgrade, and it needs a position on the network path between the two systems, which is why it is rare.

Our domain check reports “Mostly” under “Is your email private on its way to you?” when your domain has nothing in place to prevent it.

What MTA-STS does

MTA-STS is a published instruction from your domain to anyone sending you email: always encrypt, check that you are talking to one of these named servers, and if you cannot do both, do not deliver.

A sending system that supports it, and Microsoft’s and Google’s both do, reads the instruction and remembers it. From then on a stripped answer means the message waits and is not sent unprotected.

Who should bother

For most small businesses this is a tidy-up, and we say so in the check’s result. It moves up the list if you receive things by email that would hurt to have read: contracts, payroll, medical or legal information, or anything a regulator takes an interest in.

It is also a small job once the more important fixes are done, which is why we usually add it at the same time.

What it is made of

There are two pieces, and both have to be right.

The first is a small text file on a web address under your domain. It must be served securely from exactly this address:

https://mta-sts.example.co.uk/.well-known/mta-sts.txt

It names your email servers and sets a mode:

version: STSv1
mode: testing
mx: *.mail.protection.outlook.com
max_age: 604800

The mx line has to match the servers your email arrives at. The example is the one Microsoft publishes for email hosted in Microsoft 365, and it is wrong for anything else. Google publishes its own steps for Google Workspace.

Neither provider hosts this file for you. It has to sit on a small website of its own under your domain, with a valid security certificate that is kept renewed.

The second piece is a TXT entry on your domain at _mta-sts.example.co.uk that announces the file exists and carries a version marker:

v=STSv1; id=20261129

Change the marker whenever you change the file. Senders only fetch the file again when the marker is different.

Start in testing, with reports on

The file’s mode decides what happens when a check fails. testing asks senders to check and report without holding any email back. enforce tells them to hold it.

To see the reports you add one more TXT entry, at _smtp._tls.example.co.uk:

v=TLSRPTv1; rua=mailto:reports@example.co.uk

Sending systems then post a daily summary of whether they could reach you securely. A few weeks of clean reports is your signal to switch the file to enforce.

A mistake in the file while it is set to enforce stops your incoming email. A wrong server name, or a lapsed certificate on the address the file is served from, tells every compliant sender not to deliver, and they hold your email until the file is fixed or their memory of it runs out.

What it does not cover

MTA-STS protects email on its way in to you. It does nothing about email you send, which depends on the same setting on your recipients’ domains.

It is also separate from the question of whether someone can send email pretending to be you. That is the more important one, and we cover it in DMARC p=none: what it means and what next.

The thing that breaks it later

The file names your email servers. If you change email provider and nobody updates the file, compliant senders stop delivering to you. Put it on the checklist for any email move, alongside the records everyone remembers.

How we do it for clients

We set up the file and the entries, read the reports and move you to enforce when they are clean. If your check found this, ask us from your results page and we will usually do it alongside the other fixes.

Want this added to your domain?

Call and we answer within three rings. Or tell us what you need and we will call you back at any time.

01642 661888

Not ready to talk? See whether someone could send email in your name: a free check of your domain, in about ten seconds.