SPF (Sender Policy Framework)
SPF is a DNS-based email authentication protocol that specifies which mail servers and IP addresses are authorised to send email on behalf of a domain. It is published as a DNS TXT record at the root of the sending domain and is checked by receiving mail servers before accepting an inbound message.
An SPF record lists authorised sending sources using include statements (e.g. include:_spf.google.com for Google Workspace) and ends with a qualifier: ~all (softfail — deliver but flag) or -all (hardfail — reject). A missing or incorrect SPF record is one of the most common causes of cold email landing in spam.
SPF alone does not protect against email spoofing in the From header — that requires DKIM and DMARC in combination. Gmail and Yahoo made SPF mandatory for all bulk senders in February 2024.
Icemail automatically publishes the correct SPF record for every provisioned Google Workspace or Microsoft 365 mailbox, eliminating the most common DNS setup error.