Configuring SPF with Mailpro is a 5-minute job that pays off immediately: better inbox placement, fewer bounces and protection against domain spoofing. This guide walks you through the exact steps, whether you use a shared sending domain or your own.

Before you start: You need access to your domain registrar or DNS host (Cloudflare, GoDaddy, OVH, Route53, etc.) and the ability to add or edit a TXT record.

Step 1 — Check whether you already have an SPF record

Open your DNS panel and look for an existing TXT record on the root domain that begins with v=spf1. If you have one, you must edit it (you cannot add a second SPF record). If you have none, create a new TXT record.

Step 2 — Add the Mailpro include

Add include:spf.mailpro.com inside the existing record (or use it as the only mechanism if no SPF exists yet). Common combinations:

Scenario SPF record
Only Mailpro v=spf1 include:spf.mailpro.com -all
Mailpro + Google Workspace v=spf1 include:spf.mailpro.com include:_spf.google.com -all
Mailpro + Microsoft 365 v=spf1 include:spf.mailpro.com include:spf.protection.outlook.com -all

Step 3 — Choose the right policy

End your record with one of: -all (hard fail, recommended once tested), ~all (soft fail, marks unauthorized mail as suspicious) or ?all (neutral, only for testing). Start with ~all for a few days, then switch to -all.

Step 4 — Wait for DNS propagation

Most providers update in 5–30 minutes; some can take up to 24 hours. Use a public SPF checker or your dashboard’s built-in validator.

Common pitfall: Never add a second TXT record starting with v=spf1. Combine all senders into one record using multiple include: directives.

Step 5 — Validate and complement with DKIM and DMARC

Once SPF passes, set up DKIM and DMARC for full authentication. Watch our short tutorial: how to configure SPF in your domain.

Need a hand? Mailpro support helps you publish the right SPF record for your provider. See the SPF configuration page or read the full SPF FAQ.

Related: What is an email header and how to read it

Previous question

   

Next question

You might also be interested in:

What is the +1 Gmail trick? (and why you shouldn’t rely on it)

The “+1 Gmail trick” (also called the “Gmail plus trick”) uses a small feature in Gmail: you can add a...

Read more

How to Configure DMARC With Mailpro: 5-Step Safe Rollout

Setting up a DMARC record with Mailpro is the third pillar of email authentication, after SPF and DKIM. Done right,...

Read more

How to Install Mailpro?

Good news — there's nothing to install. Mailpro runs entirely in your browser. You sign up, log in, and start...

Read more

How to Configure DKIM With Mailpro: 4 Easy Steps

Configuring DKIM with Mailpro takes about ten minutes and pays off immediately: signed messages, higher inbox placement and protection against...

Read more

How to Integrate Mailpro SMTP with an AI / GPT Operator

Connecting your Mailpro SMTP relay to an AI agent — like ChatGPT Operator, Claude, n8n or your own Python/Node script...

Read more