Skip to main content
Network Thinking Solutions Logo

The Email Security Gap Most People Don’t Know About (and How We Closed It for Our Clients)

A little-known setting that stops attackers from reading your email in transit

Carly Waldeck
person typing on silver MacBook
Photo by Burst on Unsplash

When you send an email from your company to someone at another company, it passes between two mail servers, one on your side and one on theirs. Most of the time, those servers agree to encrypt the conversation so no one in between can read it.

The catch is that encryption is optional. When the servers connect, the sending server essentially asks, “Can we talk privately?” If it hears yes, the message is encrypted. If it gets no answer, it shrugs and sends the message in plain text anyway, without telling anyone.

An attacker positioned on the network between those servers can take advantage of this. By interfering with that “can we talk privately?” exchange, they can make the servers think encryption isn’t available, then read the email as it goes by. Neither the sender nor the recipient ever finds out.

The fix: a public “encryption required” sign

A standard called MTA-STS addresses this. It lets a company post a public notice that says, in effect: “Our mail servers always support encryption. If you can’t connect to us securely, don’t deliver the message. Something is wrong.”

Major email providers such as Google and Microsoft check for this notice before sending mail. When they find it, the attacker’s trick stops working. Instead of quietly falling back to plain text, the sending server refuses and retries later.

Think of it as the difference between a mail carrier who leaves a package on the porch when nobody answers and one who has instructions to bring it back and try again.

a cardboard box sitting in front of a door
Photo by Oxana Melis on Unsplash

Why most companies don’t have it

The notice itself is simple, just a few lines of text. Publishing it correctly is the hard part. It has to live on a dedicated web address for each email domain, protected by a security certificate that must be renewed regularly. If that certificate lapses, the protection can quietly stop working, or in strict mode, email can stop arriving.

For one company, that’s manageable. We manage email for about a hundred client organizations, so doing it the traditional way would mean maintaining a hundred small websites and a hundred certificates. That isn’t realistic, which is why many IT providers never get around to it.

How we made it manageable

Instead of building a hundred small websites, we built one system that serves all of them.

We use Cloudflare, a large internet infrastructure company, to host every client’s notice from a single place. Cloudflare also issues and renews the security certificates automatically, so expired certificates, the most common way this protection fails, are no longer something we have to watch for.

On the client’s side, the only change is adding three short entries to their domain settings, similar to updating an address in a directory. We don’t need to move their website, take over their domain, or touch their email system. It works no matter which company manages their domain.

We turn it on carefully

Enforcing encryption is powerful, but if something is set up wrong, legitimate email could bounce. So we never switch it on all at once.

Every client starts in testing mode. In this mode, other mail servers check the notice and report back on what would have happened, but they still deliver every message. These reports arrive daily and tell us whether anything would have been blocked.

Only after the reports look clean do we switch the client to enforce mode, where the protection takes effect. By then we already know it’s safe, so the change is uneventful, which is exactly what you want in IT.

A few things we learned the hard way

“Active” doesn’t always mean ready. Our system could show a client’s setup as active while the security certificate was still being issued. In that gap, other mail servers couldn’t read the notice. We now wait until both parts are confirmed before calling a client ready.

Changes need a new label. Mail servers remember a company’s notice so they don’t have to check it every time. If you update the notice without changing its version label, some servers keep using the old one. We now update the label automatically whenever anything changes.

Watch before you enforce. The daily reports are what make this safe. Without them, turning on enforcement is guesswork.

For the technically curious

The standards involved are MTA-STS (RFC 8461) and TLS-RPT (RFC 8460), which provides the daily reports. Each client domain gets a CNAME record pointing its mta-sts subdomain to our infrastructure, plus two TXT records: one announcing the policy and one telling senders where to send reports. Behind the scenes, a single Cloudflare Worker serves every client’s policy, and Cloudflare for SaaS handles the certificates.

The bottom line

Email security usually focuses on what you can see, like spam filters, phishing warnings, and passwords. This gap is invisible, which is why it’s easy to overlook. Closing it no longer requires a big project for each organization. For our clients, it now takes three settings, a few weeks of monitoring, and one switch.

If you’re wondering whether your organization’s email is protected this way, reply to this post. We’re happy to check.