Loading
Prepare for Email to Become the Default Login ExperienceRead More
Secure Your Salesforce Org
Include Salesforce in Your SPF Record

Include Salesforce in Your SPF Record

If you don’t enable Email Security Compliance, we recommend that you set up a Sender Policy Framework (SPF) record for your email domain. To pass SPF checks, include Salesforce in that record.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: all editions except Database.com
  1. If you don’t already have one, create an SPF record. There are many online resources available if you need assistance with setting up your SPF record.
  2. Include _spf.salesforce.com in your SPF record when sending mail from the Salesforce application.
    Note
    Note Only use _spf.salesforce.com. Other SPF records for the salesforce.com domain aren’t relevant to sending mail from the Salesforce application.

Example SPF records:

  • v=spf1 mx include:_spf.salesforce.com ~all
  • v=spf1 mx ip4:204.14.234.64/28 ip4:204.14.232.64/28 ip4:182.50.78.64/28 ip4:96.43.144.64/31 ip4:96.43.148.64/31 include:_spf.salesforce.com ~all
 
Loading
Salesforce Help | Article