DEV Community

Cover image for Microsoft 365 SPF Record Template
Regő Botond Ronyecz
Regő Botond Ronyecz

Posted on

Microsoft 365 SPF Record Template

Teaser only. This is not the full article. Complete guide with ESP includes and PermError avoidance: Microsoft 365 SPF Record Template

You migrated to Exchange Online. SPF still points at Google from 2022. Outbound mostly works until a gateway quarantines proposals.

M365-only senders need one include and a hard fail:

v=spf1 include:spf.protection.outlook.com -all
Enter fullscreen mode Exit fullscreen mode

Publish on the root domain in Cloudflare, Route53, or GoDaddy. Not in the M365 admin panel. One TXT per domain. Two SPF records = permerror.

In the full post on zerohook.org:

  • M365 + Mailchimp, HubSpot, SendGrid templates
  • Lookup counting before you add ESP includes
  • Cloudflare and GoDaddy publish clicks
  • When to move marketing to mail.yourdomain.com

Read the full guide: Microsoft 365 SPF Record Template

Top comments (0)