Email authentication can be highly technical and extremely confusing. Even the most seasoned security professionals need help both navigating this space and explaining it in digestible yet accurate terms to non-technical colleagues.
At Return Path, we believe clarity is essential when it comes to communicating the value of email security.
In this three-part blog series, we’ll explain the most important email authentication protocols—SPF (Sender Policy Framework), DKIM (Domain Keys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting & Conformance)—in plain English. We’ll start with SPF.
But before we do, it’s important to understand the vulnerabilities of email messages.
Two “From” Addresses
Email messages contain two “from” addresses: the “envelope from” (e.g., return path or mfrom) and the “header from” (e.g., the friendly from).
The “envelope from” is the return address—it tells mail servers where to return, or bounce, the message back to. It’s contained in the hidden email message header, which includes technical details servers use to to understand who the message is for, what software was used to compose it, etc.
The “header from” address is an address contained in the From: field of an email, which is visible to all email users.
Both of these addresses can be spoofed by cybercriminals relatively easily. That’s where email authentication comes in.
SPF (Sender Policy Framework)
What it is: SPF is an email authentication protocol that allows the owner of a domain to specify which mail servers they use to send mail from that domain.
How it works: Brands sending email publish SPF records in the Domain Name System (DNS). These records list which IP addresses are authorized to send email on behalf of their domains.
During an SPF check, email providers verify the SPF record by looking up the domain name listed in the “envelope from” address in the DNS. If the IP address sending email on behalf of the “envelope from” domain isn’t listed in that SPF record, the message fails SPF authentication.
Why it matters: An SPF-protected domain is less attractive to phishers, and is therefore less likely to be blacklisted by spam filters, ensuring legitimate email from that domain is delivered.
But SPF has a few major problems:
Ready to create your SPF record? Find out how to do it here.
In the next post in this series, we’ll break down DKIM, arguably the most complex of all email authentication protocols.