SMTP Security
Cheat sheet · https://pcornel.dk/topic.php?topic=4779
Answer
SMTP security covers authenticated submission on port 587 with TLS, preventing open relays, TLS between mail servers, MTA-STS and DANE to enforce it, and rate limits against abuse.
Remember
- Use authenticated submission on port 587 with TLS.
- Never run an open relay.
- Enforce TLS with MTA-STS or DANE.
First checks
openssl s_client -starttls smtp -connect <mx>:25— TLS on SMTPswaks --to user@<domain> --server <mx>— test delivery- Open relay test — closed
Verify in this order
client → submission (auth, TLS) → MTA → MX
Where it usually breaks
First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4779