How to Set Up Salesforce SPF Record?
Setting up SPF Salesforce will allow Salesforce to send emails on behalf of your domain, without failing DMARC authentication.
Moreover, when you send emails via Salesforce, you would want your emails to be received by your receivers as coming from youdomain.com instead of salesforce.com. The latter can cause problems in email deliverability and increase the chances of your emails being marked as spam. This is why you need to set up SPF for salesforce.
Steps to Setup SPF for Salesforce
To enable SPF on Salesforce, salesforce's bounce management would need to be disabled, which can be done by:
1. Navigating to:
In Lightning Experience: Gear icon | Setup | Email | Deliverability
In Salesforce Classic: Setup | Email Administration | Deliverability
2. Un-checking the following boxes:
a. Activate bounce management
b. Enable compliance with standard email security mechanisms
The final settings should look as follows:
Note: If you want to continue having Salesforce handle your bounce management, that is fine. As long as DKIM is correctly setup for your domain, your emails will be DMARC compliant.
Adding Salesforce to Your SPF Record
- Login to your DNS management console
- Navigate to the domain for which you want to setup SPF for Salesforce
Now, If you have a pre-existing SPF record in your DNS:
You need to add include:_spf.salesforce.com to your previous SPF record. Hence, if your previous SPF record was v=spf1 include:_spf.google.com -all, your new record will be:
v=spf1 include:_spf.google.com include:_spf.salesforce.com -all
Note: Make sure you have only 1 SPF record configured for your domain. More than one record will completely invalidate your SPF.
Now, If you don’t have a pre-existing SPF record in your DNS:
Simply add the following DNS TXT SPF record to your DNS:
v=spf1 include:_spf.salesforce.com -all
- Standard Email Protocols: SMTP, POP3 & IMAP Free4 m
- What is Email Security? Free4 m
- Email Security Practices Free4 m
- Building an Email Security Compliance Model Free5 m
- Corporate Email Security Checklist Free3 m 30 s
- What is the difference between Inbound email security and outbound email security? Free4 m
- What is Information Security? Free4 m
- Zero Trust Security Model Free3 m
- What is SPF Alignment? Free3 m
- How to Set Up Microsoft Office 365 SPF record? Free4 m
- How to Set Up Google Workspace SPF Record? Free2 m
- How to Set Up MailChimp SPF Record? Free3 m
- How to Set Up SendGrid SPF Record? Free2 m
- How to Set Up Salesforce SPF Record? Free3 m
- How to Setup Zoho Mail SPF Record? Free2 m
- What is DMARC Compliance? Free2 m
- The Benefits of DMARC Free2 m
- DMARC Configuring Free3 m
- Achieving DMARC Enforcement Free2 m
- DMARC Vs Antispam Solutions Free2 m
- DMARC Identifier Alignment Free2 m
- DMARC sp Tag Exceptions & Uses Free1 m
- Configuring DMARC without DKIM Free3 m
- Configuring DMARC without SPF Free2 m
- DMARC Aggregate Report Views Free3 m
- Video - PowerDMARC Aggregate Reports Free2 m 13 s
- DMARC Forensic Report Views Free2 m
- Video - PowerDMARC Forensic Reports Free
- DMARC Forensic PGP Encryption and Decryption Free2 m
- TLS Report Views Free3 m
- Video - PowerDMARC TLS Reports Free
- PDF/CSV Reports Free2 m
- Video - PowerDMARC PDF/CSV Reports Free1 m 1 s