Hacker News new | ask | show | jobs
by quotemstr 43 days ago
DANE is a live thing in email. MTA-STS likewise uses DNS (unfortunately combined with a well-known HTTP URL path) to denote the equivalent of HSTS without everyone carting around a giant preload list. DKIM's signer-described partial-coverage signatures are pragmatic. DMARC's one-of-two alignment check is good and flexible. BIMI is good.

In general, email has used DNS to a greater extent than the web has to build trust mechanisms that don't depend on giant lists managed by a tiny number of browser vendors.

1 comments

As the RFC says, MTA-STS exists in part to work around the fact that email providers generally don't do DANE.
That's an issue primarily with the hyperscalers, who're refusing DANE. Anything outside of Gmail, Outlook and the likes, you're much more likely to see DANE than MTA-STS.

(Most open source SMTP stacks don't integrate an HTTP client and are completely unable to do MTA-STS without hacks, patches or other fragile bolt-on bits.)

In other words, most Internet email is not sent using DANE.
Sure, but there are three major issues with your statement, all related to how you actually look at and count things.

First, not using DANE doesn't mean using MTA-STS. In particular, between the giant mail hosts, even if both sides publish MTA-STS information and validate MTA-STS elsewhere — I'm quite willing to bet they have a bunch of policy overrides for each other. In a way, MTA-STS is nothing other than standardizing those policy overrides so things don't break as much when they have to change something.

Second, in terms of installations, DANE absolutely wins, just because there are a few giant installations and a ton of small ones. Even if the quota on the small ones is bad, it'll still outweigh the giants by orders of magnitude. And it's technically far easier to roll out a new mechanism on a handful of giant, well-automated, well-monitored installations. They could all do DANE in a few weeks or months. They just don't want to operationally/politically. Conversely, updating millions of small shoestring installations to MTA-STS (or something else) is a herculean task.

(Related question: what about domains? That's yet another statistical perspective, considering a lot of domains point at Gmail & co.)

And lastly — I'm not sure your statement is in fact correct, because the medium-sized enterprise senders sending in bulk generally don't use the actual e-mail giant infrastructure (e.g. Outlook.com, Gmail.com), even if they're hosted at a corporate cousin (Azure, GCP). And that's probably enough volume to shift the outcome for "most Internet mail". For this, it'd be interesting to know what the various cloud-ish mail solutions (aaS & products) do, which I unfortunately don't.

This is like saying that DNSSEC is doing well in terms of "installations" because European zones tend to be signed by default by their registrars (which is security theater). What matters isn't the absolute number of zones signed; it's how widely used those zones are. Overwhelmingly, Internet email is sent without DANE consultation. By the numbers, MTA-STS (which is a marginal protocol) is wildly more important than DANE.
I agree, which is why I found it weird that you argued by way of "email providers generally don't do DANE."¹ - the wording as 'providers' makes an installation numbers based argument, or maybe legal entity numbers based. Definitely not mail volume. So I replied about installations, and then you switched to volume.

(¹ https://news.ycombinator.com/item?id=50173218)