2 min read

An overview of SPF records

Table of Contents

What is an SPF record?

Sender Policy Framework (SPF) lets you publish a DNS record of all the domains or IP addresses you use to send email. Receiving email services check the record and know to treat email from anywhere else as spam.

You can include more than one sending service in your SPF record. For example, your corporate email service and an email marketing service.

Your SPF record also contains a qualifier option, which lets you:

  • tell recipients to ignore your record while you test it
  • mark, but not reject, email from an unknown source

How does an SPF record work?

ℹī¸

The following record is for explanation purposes and should not be used on your domain.

An example SPF record looks like this: v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net ~all

In the example:

  • v=spf1 indicates it is an SPF record
  • include: means email can only come from these sources
  • ~all considers any other email as a soft fail

Useful Resources