3 ms·
Is maintaining a cache difficult? Disk space is cheap and databases are reliable in 2024. I'll mention that the MTA-STS policy includes a list of permitted MX,
by 8organicbits 2y ago
Is maintaining a cache difficult? Disk space is cheap and databases are reliable in 2024.
I'll mention that the MTA-STS policy includes a list of permitted MX, so a poisoned MX record would be detected. But you are still correct about "first email to a domain" concerns; MTA-STS does not offer protection when the policy isn't in the cache.
There's some obvious improvements we could consider, like a community list of domains known to support MTA-STS, and mail servers pre-warming their caches. That gets us something closer to the HSTS preload list, which protects the first connection to a domain. MTA-STS is a reasonable foundation for future work.
It's also really worth remembering that the current best practices for email are unencrypted connections, skipping TLS cert verification, and sometimes DANE. A solution that protects all but the first email is a big step forward.