Why it matters

Your SPF record contains errors 1. Parts of your SPF record are invalid or point at names that don't exist, which may cause receivers to treat the whole record as broken 1. A broken or overly permissive Sender Policy Framework record gives receivers no reliable way to tell your email from forgeries, and can cause your own messages to fail checks and go to spam 1. Sender Policy Framework is a system that uses features of domain name system (DNS) and allows domain owners to specify which servers are authorized to send emails on behalf of their domain 3.

How to tell if this affects you

You can tell if this affects you by checking the results of your security check, which reports that your SPF record contains errors 1. If your emails are frequently landing in your clients' spam folders, or if you receive bounce-back messages about authentication failures, your SPF setup likely needs attention.

Can you fix it yourself?

Yes, you can fix this yourself by logging into the place where you manage your domain's DNS records, such as your domain registrar or hosting provider. Depending on what the report found, you will need to adjust your settings accordingly 1.

What to do

  1. If you have more than one SPF record, combine them into a single TXT record 1. Keep one v=spf1 at the start, put every include: and ip4: or ip6: entry from both records into it, and end with a single -all or ~all, then delete the other record 1.
  2. If your record ends in +all, ?all, or has no all mechanism, change the ending to ~all, and update it to -all once you are confident every legitimate sender is listed 1. +all means anyone may send as your business and should never be used 1.
  3. If you have too many lookups (more than 10), remove services you no longer use, replace a and mx with explicit ip4: ranges where your provider publishes stable addresses, and avoid ptr 1. Each include:, a, mx, exists, and redirect counts towards this 10-lookup limit (section 4.6.4), including those inside other services' records 1. If you still need more than 10, ask your senders whether they offer a sending subdomain, such as mail.example.com, with its own SPF record 1.
  4. Fix any general errors such as typos in mechanism names, invalid IP ranges, and include: entries pointing at services you no longer use, because they now return nothing and count as void lookups 1.

Check your fix

After updating your DNS settings, run a rescan 1. The SPF findings should be resolved, and the report will show how many lookups your record now needs 1.

When to get professional help

Untangling a long SPF record for many services is fiddly, and mistakes can stop legitimate email from delivering 1. If you use more than a handful of sending services, consider asking an IT provider, ideally one who will also set up DMARC reporting 1.

Run a free check of your business at aeolussecurity.ca.