Joe Scharf
posted this on Jan 03 09:00
Sender Policy Framework (SPF) is an open standard aimed at preventing sender address forgery. This article describes how the SPF is configured for use with SendGrid.
SPF and Whitelabel
As part of the whitelabel process you must create a subdomain (such as email.example.com) which is used for click and open tracking and is used in the Return-Path email header. SPF uses the value in the Return-Path header for the DNS lookup to determine the permitted senders for the domain.
If you have an SPF record set for your root domain (i.e. example.com), you must add include:sendgrid.net before the all selector of this record. If you do not have an SPF record for your domain you must create the SPF record with the value:
v=spf1 a mx include:sendgrid.net ~all