What is SPF?

SPF stands for Sender Policy Framework. SPF is a set of standard practices that help to maximise email deliverability. By adding something called an SPF record to your domain name’s TXT entry, you reduce the chance of an email provider marking any emails sent from your domain as spam. At Airship, we add the DKIM (DomainKeys Identified Mail) tool to all our outbound emails by default - this will test the domain name. 

How to set up your SPF

If an SPF record already exists for the domain

If the domain already has an SPF record in place, the existing record will need updating to include Airship’s servers. 

  1. Log into the administrative console for your Domain name. (ie. 123-reg, 1&1, Easily, GoDaddy).
  2. Locate the page which allows the domains DNS records to be updated. In some cases this is hidden behind an “advanced settings” section.
  3. Edit the existing TXT record and add the include statement. Do not change anything else, simply add the include:_spf.airship.co.uk as in the example below:
v=spf1 include:_spf.airship.co.uk include:_spf.google.com ip4:195.1.2.3 -all 

If an SPF record needs to be added for the domain

If the domain does not have any SPF records in place, a new record will need to be added.

Below is the minimal SPF record needed to allow the Console to deliver emails on behalf of the domain. 

  1. Follow steps 1 and 2 from above.
  2. If the Console is the only platform sending email on behalf of the domain, simply create a new TXT record containing the text below:

    v=spf1 include:_spf.airship.co.uk -all
     

    The “include:_spf.airship.co.uk” MUST be present in the final TXT record. This tells the recipient’s email platform to allow the Console as a sender for the domain, and to block any other servers.
  3. If the Console is not the only platform sending email on behalf of the domain, all other platforms need to be identified and added upon addition of the new TXT record. Failing to do so may result in bounced email sent by those platforms not identified within the new TXT record.

    If only one other IP address is sending on behalf of the domain the IP address can be listed using ip4 or less common ip6 tags. An ip4 example is indicated below:

    v=spf1 include:_spf.airship.co.uk ip4:195.1.2.3 -all

    Several IP addresses can be listed using the ip4 or ip6 tag, see an example below:

    v=spf1 include:_spf.airship.co.uk ip4:195.1.2.3 ip4:195.1.2.4 ip4:195.1.2.5 ip4:195.1.2.6 -all  

    For other platforms, such as Google Apps, specific include statements may be needed, the details of which should be available from each platform provider. Google Apps would look like below.
    v=spf1 include:_spf.airship.co.uk include:_spf.google.com ip4:195.1.2.3 ip4:195.1.2.4 -all  
Did this answer your question?