Suped

How do I properly set up SPF and DKIM records for email marketing, including handling multiple SPF records, IP ranges, bounce capturing, and Google Postmaster Tools verification?

Summary

Setting up SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) records is fundamental for email deliverability, especially in email marketing. Proper configuration ensures your emails are authenticated, reducing the likelihood of them being flagged as spam or blocked. Common pitfalls include having multiple SPF records or overly broad IP ranges, which can undermine your sender reputation. Verifying your setup with tools like Google Postmaster Tools is also critical for monitoring performance and maintaining good inbox placement.

Suped DMARC monitor
Free forever, no credit card required
Get started for free
Trusted by teams securing millions of inboxes
Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo

What email marketers say

Email marketers frequently encounter challenges when configuring SPF and DKIM records, particularly when managing emails from various platforms or handling existing DNS settings. Their concerns often revolve around practical application and troubleshooting, such as consolidating records, understanding IP ranges, and ensuring proper bounce management to maintain effective email campaigns.

Marketer view

An Email Geeks marketer shares a common SPF configuration mistake, noting that they had been trying to fix multiple SPF records for a political campaign's email marketing. They were trying to get clear instructions on how to correctly format the record after using an online validator.

22 Jun 2020 - Email Geeks

Marketer view

An Email Geeks marketer confirms the issue, stating that they had figured out the problem was having two separate TXT entries both starting with v=spf1. They appreciate the confirmation and alternative setup suggestions provided by the community.

22 Jun 2020 - Email Geeks

What the experts say

Email deliverability experts strongly advocate for precise SPF and DKIM configurations, warning against common missteps that can severely impact sender reputation and inbox placement. They stress the importance of understanding the technical implications of broad IP ranges and the necessity of proper bounce handling, alongside accurate verification for tools like Google Postmaster Tools.

Expert view

An Email Geeks expert advises against using two separate TXT entries both starting with v=spf1 for SPF records. They suggest merging them into a single syntactically correct record, such as v=spf1 ip4:66.96.128.0/18 include:_spf.google.com include:_spfprod.ngpvan.com ~all.

22 Jun 2020 - Email Geeks

Expert view

An Email Geeks expert strongly questions the use of a /18 CIDR block for email sending, noting that this range encompasses approximately 16,000 IP addresses. Such a broad specification raises concerns about its necessity and potential security implications.

22 Jun 2020 - Email Geeks

What the documentation says

Official documentation and technical guides provide the authoritative framework for implementing SPF and DKIM. They detail the syntax, mechanisms, and best practices necessary to ensure proper email authentication, highlighting how these records contribute to preventing spoofing and improving email deliverability across various mail systems.

Technical article

Documentation from Email on Acid states that a domain can only have one SPF record. However, it's possible to have more than 10 approved IPs, and the 'include' parameter in the SPF record allows for this expansion.

06 Jul 2021 - Email on Acid

Technical article

Customer.io documentation explains that to authenticate a domain, four DNS records need to be added to the DNS hosting provider for each domain used for sending. This comprehensive setup ensures robust email authentication.

15 Mar 2024 - Customer.io

5 resources

Start improving your email deliverability today

Get started