1.2 KiB
1.2 KiB
id, category, revision-version, revision-date, estimate-time, frameworks
| id | category | revision-version | revision-date | estimate-time | frameworks | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COM-EMAIL-001 | communication-security/email-security | 1 | 2024-01-07 | 30m |
|
Purpose
SPF (Sender Policy Framework) prevents email spoofing by defining which mail servers are authorized to send emails on behalf of your domain. It helps receiving mail servers verify that incoming email from a domain comes from a host authorized by that domain's administrators.
Implementation
- Identify all legitimate email sources:
- Your mail servers
- Third-party services (e.g., Google Workspace)
- Marketing platforms
- Any other authorized email senders
- Create SPF record
Where:
v=spf1 include:_spf.google.com ~allv=spf1: Version of SPFinclude:_spf.google.com: Include Google's mail servers~all: Soft fail for others (can be changed to -all for hard fail)
- Add record to DNS:
- Create TXT record at domain root
- Publish SPF record in DNS
- Wait for DNS propagation
Evidence
- Screenshot of published SPF DNS record
- Email header samples showing SPF pass
- Documentation of authorized senders