
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
How to create a SPF record?
To initiate SPF for your domain via your DNS hosting provider, follow these general guidelines:
- Access your account
- At Domains drop-down menu, select your domain name (click “Show All” if your domain is not displayed)
- Under the DNS & Zone Files menu, click “Edit DNS Zone File”
- Click “+ Add Row” to create a new record
- Set the type to TXT and enter your SPF record in the right column (substitute your server’s IP address where needed)
How to setup SPF for Salesforce?
Salesforce utilizes an include mechanism during the set-up process. For example, if you do not have an SPF record on your domain, the following scenario is the most common and would pass SPF: v=spf1 include:_spf.salesforce.com ~all. If you do already have an SPF record on your domain, simply add the following to it: include:_spf.salesforce.com
How to configure SPF record?
- Start with the SPF version v=spf1. ...
- The SPF version tag should be followed with all IP addresses that are authorized to send email on behalf of your domain. ...
- Next comes the “include” statement, which is needed for every third-party organization that sends email on your behalf. ...
- The end of the SPF record is the “all” tag. ...
When to use record types in Salesforce?
Used to organize UI pages for your users:
- Which fields, related lists, and Custom links a user’s sees.
- Field properties – visible, read-only and required.
- Page section customizations.

What should an SPF record include?
Your SPF record should include a reference to Google Workspace, and to the domains and IP addresses of all servers or services that send mail for your domain.
Why SPF record is not recommended?
The answer is no. SPF alone cannot prevent your brand from being impersonated. For optimal protection against direct-domain spoofing, phishing attacks, and BEC, you need to configure DKIM and DMARC for your domain. Furthermore, SPF has a limit of 10 DNS lookups.
What is SPF Salesforce?
The Sender Policy Framework (SPF) email authentication method aims to reduce spam and fraud by making it harder for email senders to hide their identity. SPF detects email spoofing by providing a process to verify who is permitted to send emails on your behalf.
Do I need mx in my SPF record?
It MUST be the first tag in the SPF record. if used on its own (mx) then it uses the A record IPs of the MX records for the current domain.
Are SPF records still used?
Thus, the SPF record is indeed deprecated, but providing an SPF policy in a TXT record is still highly recommended, even if your domain doesn't actually handle email (in which case you should define a policy of v=spf1 -ALL ). I used imprecise terminology, unfortunately.
Are SPF records deprecated?
DNS record type of SPF (type 99) is deprecated and should not be used.
Do I need both SPF and DKIM?
Is it necessary to use both SPF and DKIM? While not mandatory, it's highly recommended to use both SPF and DKIM to protect your email domains from spoofing attacks and fraud while also increasing your email deliverability.
Can you have multiple SPF records for a domain?
Don't use multiple SPF records! A domain name MUST NOT have multiple records that would cause an authorization check to select more than one record. The rule of thumb: multiple SPF records will fail the SPF authentication.
Where do I find SPF in Salesforce?
To confirm that the SPF for the Salesforce record and Salesforce IPs pass validation checks, use the SPF Query Tool from Kitterman.com. With the tool open, go to the 'Test SPF Record' section.
How do I optimize an SPF record?
Below you can find the steps that would help you to optimize SPF record:Change sources order. ... Clean up the record from duplicate sources. ... Get rid of legacy / obsolete sources. ... Reduce the number of INCLUDEs. ... Avoid using MX and A mechanisms. ... Remove sender-domain-unaligned sources. ... Move part of sources to the subdomain.More items...•
What is the difference between an MX record and an SPF record?
The MX record contains the DNS information for the mail server. As for which will act as the actual mail server, that depends on how you have things set up, and if you have to migrate mailboxes. An SPF record is basically just a TXT DNS record.
Can you add IPv6 to SPF record?
Be sure to use the correct mechanism for the IPv4 (ip4) and IPv6 (ip6) addresses. You can add as many IP addresses as needed to your SPF record up to the 255 character TXT record limit. If the number of IP addresses in your SPF record exceeds 255 characters, investigate different options to shorten your SPF record.
Sender Policy Framework
Sender Policy Framework (SPF) is a simple email validation system designed to detect email spoofing. SPF provides a process to verify which providers can send emails on your behalf. It also aims to reduce spam and fraud by making it harder for anyone to hide their identity.
Entry to include in your SPF record
The appropriate entry to include in your SPF record when sending mail from the Salesforce application is _spf.salesforce.com. Please only use '_spf.salesforce.com' as there are a variety of SPF records for the salesforce.com domain that are for other uses and are not relevant to sending mail from the Salesforce application.
Create an SPF record
To help create an SPF record from scratch, you can use tools like the SPF Record Generator from MXToolbox.
Test and validate SPF Records
To confirm that the SPF for the Salesforce record and Salesforce IPs pass validation checks, use the SPF Query Tool from Kitterman.com.
How to Setup SPF for Salesforce?
Setting up SPF for Salesforce will allow Salesforce to send emails on behalf of your domain, without failing DMARC authentication.
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:
