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.
Log into the administrative console for your Domain name. (ie. 123-reg, 1&1, Easily, GoDaddy).
Locate the page which allows the domains DNS records to be updated. In some cases this is hidden behind an “advanced settings” section.
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:18.104.22.168 -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.
Follow steps 1 and 2 from above.
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.
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:22.214.171.124 -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:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 -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:18.104.22.168 ip4:22.214.171.124 -all