Email Security
Cheat sheet · https://pcornel.dk/topic.php?topic=4777
Answer
Email security defends against phishing, spoofing and malware with SPF, DKIM and DMARC, TLS between servers, mail gateways with spam and attachment filtering, and user training against business email compromise.
Remember
- SPF, DKIM and DMARC together stop domain spoofing.
- Filtering never catches everything; users must report.
- Payment changes must be verified out of band.
First checks
dig TXT <domain> +short | grep spf— SPFdig TXT _dmarc.<domain> +short— DMARC- Mail gateway threat report — phishing blocked
Commands
dig TXT example.comdig TXT _dmarc.example.com
Verify in this order
sender → SPF/DKIM/DMARC → gateway filtering → user
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=4777