HubSpot SPF Setup

SPF (Sender Policy Framework) is an email authentication protocol that helps prevent email spoofing by allowing domain owners to specify which mail servers are permitted to send email on their behalf. 

This guide walks you through setting up SPF for HubSpot, a leading platform for marketing, sales, and customer service. 

HubSpot SPF Requirements

Note: If you’re already using Sendmarc for SPF management, simply copy the HubSpot-provided include value from your HubSpot settings and follow the steps here. HubSpot does not use a standard SPF domain — instead, each account is assigned a unique SPF value, which you’ll find in your HubSpot dashboard.

To authorize HubSpot to send emails on your domain’s behalf:

  1. Log in to your domain’s DNS dashboard.

  2. Go to the page where you can update the DNS settings on that domain.

  3. Check if a TXT record starting with v=spf1 already exists.

  4. If it exists, modify the existing record to include your HubSpot-provided value (example below).

  5. If not, create a new TXT record using the value from your HubSpot account.

Example of an updated SPF record:

HostTypeValue
@ or blankTXTv=spf1 include:another.net include:123456.spf03.hubspotemail.net ~all

Example of a new SPF record:

HostTypeValue
@ or blankTXTv=spf1 include:123456.spf03.hubspotemail.net ~all

Replace 123456.spf03.hubspotemail.net with the actual SPF value provided in your HubSpot account under Domains & URLs > Advanced Options.

Save your changes in the DNS control panel.

Allow up to 48 hours for DNS propagation, depending on your DNS host.

How to update your SPF settings using Sendmarc

For detailed instructions on how to update your SPF record through Sendmarc, refer to the Sendmarc SPF Setup Documentation. 

HubSpot’s Documentation

Refer to HubSpot’s official documentation for SPF setup here.

Looking for DKIM Settings?

Find out how to configure your HubSpot DKIM settings here.