SPF Setup Guide

Step 1: List IP addresses that are used to send emails

Domain admins need to examine what mail servers are being used by their domain to deliver emails. They need to list down all the mail servers and sources that send emails on the domain’s behalf.

Step 2: List all sending domains

Domain admins must ensure that all domains under their ownership have SPF records published even if a few authorized domains are no longer used to send emails regularly.

Step 3: Create the SPF record

Follow the steps given below to create an SPF record:

  1. An SPF record should always start with the version number v=spf1 (version 1). This tag defines the record as SPF.
  2. Add all IP addresses that are authorized to send an email on the domain’s behalf.
  3. For any third-party organization that sends emails on the domain’s behalf, you may use an ‘include’ tag, such as include:newdomain.com.
  4. You should end the record with an ‘all’ tag once all IP addresses have been implemented and include tags. The ‘all’ tag has the following basic types:
    -all: Servers that aren’t listed in the SPF record are not authorized to send emails, i.e, emails that fail will be rejected.
    ~all: If the email is received from a server that isn’t listed, the email will be marked as a soft fail, i.e emails will be accepted but marked.
    +all: It is not recommended to use this option as this tag allows any server to send emails from your domain.

Step 4: Add your SPF record to DNS

Work with the DNS server administrator to add the SPF records to DNS so that mailbox providers can use it.

Step 5: Test your SPF record

You can easily use the SPF check tool, to check the SPF record created. You’ll be able to view what your recipients see. You can include one or more of your valid sending IP addresses if they aren’t mentioned.

Ready to get started?

Request demo