Check the negotiated protection and peer
02TLS means Transport Layer Security. The handshake negotiates protection; both SMTP parties must check whether its actual result is acceptable.
In the separate insufficient-protection alternative, the client follows SHOULD and sends QUIT. A server making its own refusal should use 554 for non-QUIT commands; these are alternative roles, not a fabricated handshake failure code.
Source for this drawing: RFC 3207 · Read RFC section 4.1 ↗
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Terms in this drawing
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
RFC 7817 replaces the identity-check paragraph with the Submission-client procedure in §3. It explicitly excludes MTA-to-MTA SMTP; it does not replace STARTTLS negotiation or reset rules.
Read the updated RFC section ↗Handshake completion alone is not a security-policy decision.
- After the TLS handshake, both parties MUST immediately decide whether to continue based on the authentication and privacy actually achieved.
- RFC 7817 updates this section for SMTP Submission clients: during negotiation, check the expected server identity against its certificate only after certification-path validation. Its scope excludes MTA-to-MTA SMTP.
- If protection is insufficient, the client SHOULD send QUIT immediately after negotiation. A refusing server SHOULD reply 554 to every SMTP command except QUIT.
The chosen exact DNS-ID example assumes certificate-path validation succeeded; it is not a certificate verifier. Full reference-identifier selection and matching are outside this guide; follow RFC 7817 and current TLS guidance rather than using this example as a verifier. MTA-to-MTA means between mail transfer agents, or relaying mail servers. No obsolete TLS version or cipher suite is prescribed; modern configuration guidance is RFC 9325.
Read the RFC section ↗