Last Updated: February 25, 2016
· kerrick

Need an SPF Record? Microsoft has a great tool for that.

SPF records help prevent people from spoofing your domain name in their spam email campaigns. I recently learned about this problem when I started getting bounced emails with original headers like the following:

Return-Path: <>
Received: from ([]) by with ESMTP id fs12si28469498bkc.40.2012.; Sat, 07 Jul 2012 11:25:19 -0700 (PDT)
Received-SPF: neutral ( is neither permitted nor denied by best guess record for domain of client-ip=;
Authentication-Results:; spf=neutral ( is neither permitted nor denied by best guess record for domain of
To: "info" <>
Subject: Newsletter
From: "Henry" <>
Date: Sat, 07 Jul 2012 21:25:16 +0300
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: IPS PHP Mailer

Somebody in Saudi Arabia has been spamming people, with their emails claiming to be from my domain name! That's simply not acceptable.

To fix this, I have set up SPF records for each and every domain name I have an MX record for. Microsoft's great SPF generator made it easier to create them, too. If you've got a domain name you use for email, set up an SPF record for it!

For the record, this is what my SPF records look like, with an allowance for MailChimp to send email as me:    IN TXT   "v=spf1 ~all"

1 Response
Add your response

While they are very similar, Microsoft's Sender ID is not the same as SPF. See here:

over 1 year ago ·