<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MDO on Nicola Suter</title><link>https://nicolasuter.ch/tags/mdo/</link><description>Recent content in MDO on Nicola Suter</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Nicola Suter</copyright><lastBuildDate>Thu, 04 Jun 2026 08:15:02 +0000</lastBuildDate><atom:link href="https://nicolasuter.ch/tags/mdo/rss.xml" rel="self" type="application/rss+xml"/><item><title>Enhanced Filtering for Connectors: SPF failures in Defender for Office 365</title><link>https://nicolasuter.ch/til/mdo-enhanced-filtering/</link><pubDate>Thu, 04 Jun 2026 08:15:02 +0000</pubDate><guid>https://nicolasuter.ch/til/mdo-enhanced-filtering/</guid><description>&lt;p&gt;Enhanced Filtering for Connectors&lt;cite&gt;&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/cite&gt; (aka skip listing) lets Exchange Online and Defender for Office 365 see the actual sender IP address instead of only the last hop. This is required so that MDO can verify message authentication attributes such as SPF, DMARC, and DKIM. Microsoft recommends it in its guides for third party mail flows&lt;cite&gt;&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/cite&gt; &lt;cite&gt;&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/cite&gt; to get the full value out of MDO.&lt;/p&gt;
&lt;p&gt;Without enhanced filtering, MDO only sees your 3rd party gateway as the sender for incoming e-mails. As a result, you lose important sender metadata, which degrades your experience in Threat Explorer, Advanced Hunting, and the Tenant Allow/Block List.&lt;/p&gt;
&lt;p&gt;The mail flow in the environment roughly looks like this, with the 3rd party gateway acting as the MX for inbound mail and as the smart host for outbound mail. Exchange Online is connected to an on-premises Exchange server via the hybrid connector:&lt;/p&gt;
&lt;pre class="not-prose mermaid"&gt;
flowchart LR
 Internet([Internet])
 Gateway[3rd Party&lt;br/&gt;Mail Gateway&lt;br/&gt;&lt;i&gt;MX record&lt;/i&gt;]
 EXO[Exchange Online&lt;br/&gt;&lt;i&gt;Defender for Office 365&lt;/i&gt;]
 OnPrem[On-Premises&lt;br/&gt;Exchange Server]

 %% Inbound flow
 Internet --&gt; Gateway
 Gateway -- "&lt;i&gt;Partner connector&lt;br/&gt;+ Enhanced Filtering&lt;/i&gt;" --&gt; EXO
 EXO -- "&lt;i&gt;Hybrid connector" --&gt; OnPrem

 %% Outbound flow
 OnPrem -. "&lt;i&gt;Hybrid connector&lt;br/&gt;+ Enhanced Filtering&lt;/i&gt;&lt;/i&gt;" .-&gt; EXO
 EXO -. "&lt;i&gt;Partner connector&lt;/i&gt;" .-&gt; Gateway
 Gateway .-&gt; Internet

 classDef cloud fill:#e6f2ff,stroke:#0078d4,color:#000
 classDef onprem fill:#fff4e6,stroke:#d97706,color:#000
 classDef gw fill:#f3e8ff,stroke:#7c3aed,color:#000
 class EXO cloud
 class OnPrem onprem
 class Gateway gw
&lt;/pre&gt;

&lt;p&gt;Following the Microsoft recommendation, enhanced filtering was enabled on both the 3rd party connector and the Exchange hybrid connectors.&lt;/p&gt;</description></item></channel></rss>