Improve Email Security: Microsoft 365 SPF, DKIM & DMARC Guide
Nov 17, 2023 4:00 PM

Improve Email Security: Microsoft 365 SPF, DKIM & DMARC Guide

by HubSite 365 about Jonathan Edwards

No-Faffing Managed IT Support & Cyber Security Support. Made in Yorkshire, built for the UK.

External YouTube Channel

SecurityLearning Selection

Boost Microsoft 365 email security using SPF, DKIM & DMARC authentication. Stop spoofing, improve integrity, prevent phishing!

Today's informative video by Jonathan Edwards discusses enhancing email security within Microsoft 365 by utilizing SPF, DKIM, and DMARC. These technologies are fundamental in authenticating email messages, shielding users from potential spoofing and ensuring a more secure email environment. By applying these settings, Microsoft 365 users can significantly bolster their email defenses.

SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting, and Conformance) are three key technologies used in Microsoft 365 for email authentication and security. They help in validating the authenticity of email messages, preventing spoofing, and ensuring secure email communication.

  • SPF (Sender Policy Framework): SPF is an email authentication method that prevents spammers from sending messages on behalf of your domain. In Microsoft 365, SPF allows the recipient's mail server to check that emails claiming to come from a specific domain are sent from servers authorized by the domain owner.
  • DKIM (DomainKeys Identified Mail): DKIM adds a digital signature to every email sent from your domain. This signature helps the recipient verify that the email hasn't been altered in transit and confirms that it was indeed sent from your domain. In Microsoft 365, DKIM helps to further establish the authenticity of the email sender.
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance): DMARC works alongside SPF and DKIM to provide additional security. It allows domain owners to specify how an email receiver should handle mail that doesn’t pass SPF or DKIM checks. DMARC also provides reporting back to the domain owners about emails that pass and/or fail DMARC evaluation in Microsoft 365.

Using SPF, DKIM, and DMARC together in Microsoft 365 significantly enhances email security by ensuring that emails are authenticated, thus helping to prevent phishing and spoofing attacks.

Overview of SPF, DKIM, and DMARC in Microsoft 365

SPF, DKIM, and DMARC are crucial for maintaining the integrity and security of emails in Microsoft 365. SPF verifies that emails are sent from authorized servers, DKIM ensures that emails remain unchanged during transit, and DMARC dictates how to handle emails that fail SPF or DKIM checks. Together, they provide a robust framework to protect against email spoofing and phishing, enhancing the overall security posture of an organization's email communications.

Jonathan emphasizes the importance of SPF (Sender Policy Framework) in verifying that emails sent from a domain are done so from servers approved by the domain's owner. This is crucial in preventing spammers from impersonating your domain. Ensuring emails are from legitimate sources is imperative for organizational security within Microsoft 365.

He also explains DKIM (DomainKeys Identified Mail), which serves to add a digital signature to outgoing emails from a domain. This signature reassures recipients that the content has remained unaltered during transit and truly originates from the claimed domain. It's integral to strengthening sender authenticity in Microsoft 365.

Additionally, DMARC (Domain-based Message Authentication, Reporting, and Conformance) is another layer of protection that works in tandem with SPF and DKIM. It allows domain owners to instruct email receivers on how to treat emails failing SPF or DKIM assessments, and it also sends reports to domain owners regarding the status of emails relating to DMARC examinations in Microsoft 365.

When these three technologies are used collectively in Microsoft 365, they offer a powerful enhancement to email security. This synergy is key in authenticating emails more reliably, thus contributing significantly to the fight against phishing and spoofing activities.

What is the best of this systems?

Deciding the "best" among SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting, and Conformance) in Microsoft 365 is not straightforward, as each system serves a different, yet complementary, purpose in email security.

  • SPF is effective for verifying if the sending server is authorized by the domain's administrators. However, it doesn't protect the email header information and can be limited by its inability to verify forwarded emails.
  • DKIM adds a layer of security by attaching a digital signature to the email, ensuring that the content of the email has not been tampered with during transit. However, it does not specify what to do if a message fails this verification.
  • DMARC builds upon SPF and DKIM by adding a policy that specifies how receiving servers should handle emails that fail SPF or DKIM checks. It also provides reporting capabilities to domain owners, offering insights into the email flow and potential security issues.

In essence, each system has its strengths, and they work best when used together. SPF and DKIM provide essential verification mechanisms, while DMARC ties them together with a policy framework and reporting capabilities. In a comprehensive email security setup in Microsoft 365, utilizing all three technologies is the most effective approach to protect against email spoofing and phishing attacks.

Combining SPF, DKIM, and DMARC in Microsoft 365

For optimal email security in Microsoft 365, it's advisable to implement SPF, DKIM, and DMARC together. While SPF and DKIM provide the foundational verification of email authenticity, DMARC brings it all together with policies and reporting. This combination offers a holistic approach to securing email communications, ensuring both the integrity of emails and providing mechanisms to handle authentication failures effectively.

Security - Improve Email Security: Microsoft 365 SPF, DKIM & DMARC Guide


More links on about Microsoft 365 SPF, DKIM and DMARC; Improve Your Email Security!

Use DMARC to validate email, setup steps
Jun 15, 2023 — DMARC helps receiving mail systems decide what to do with messages from your domain that fail SPF or DKIM checks. Tip. Visit the Microsoft ...
How to Set Up DMARC, DKIM, and SPF in Office 365 ...
all your mailboxes are on-premises, and you use Exchange Online Protection (EOP) to protect your email. The steps described in this article apply to all of the ...


Microsoft 365 SPF, Email security, DKIM, DMARC, Microsoft 365 email protection, Improve email security, Secure Microsoft 365 email, SPF DKIM DMARC security, Microsoft SPF DKIM DMARC, Microsoft 365 secure mail.