Before delivering: how a sender applies DANE and MTA-STS

Before delivering: how a sender applies DANE and MTA-STS A workflow diagram generated by Archify. 01 / DANE: keys in signed DNS 02 / MTA-STS: a policy over HTTPS EX / A check fails 04 / Neither: opportunistic Look up the MX · for example.org · DANE: keys in signed DNS Look up the MX for example.org Signed with DNSSEC? · DANE: keys in signed DNS Signed with DNSSEC? TLSA records · _25._tcp.mx1 · DANE: keys in signed DNS TLSA records _25._tcp.mx1 TLS, key matches · or no delivery · DANE: keys in signed DNS TLS, key matches or no delivery Deliver · authenticated TLS · DANE: keys in signed DNS Deliver authenticated TLS _mta-sts TXT · or a cached policy · MTA-STS: a policy over HTTPS _mta-sts TXT or a cached policy Fetch the policy · https://mta-sts.example.org · MTA-STS: a policy over HTTPS Fetch the policy https://mta-sts.example.org MX listed, valid TLS · mode: enforce · MTA-STS: a policy over HTTPS MX listed, valid TLS mode: enforce Deliver · authenticated TLS · MTA-STS: a policy over HTTPS Deliver authenticated TLS Keep and retry · report it: TLS-RPT · A check fails Keep and retry report it: TLS-RPT STARTTLS if offered · any certificate · Neither: opportunistic STARTTLS if offered any certificate Deliver · encrypted, or not · Neither: opportunistic Deliver encrypted, or not fails found found no, or no TLSA no policy passes yes Legend Delivery Policy decisions Kept and reported Lookups