Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

(L1) Ensure mail transport rules do not whitelist specific domains

CIS.M365.6.2.2MediumExchange OnlineMail flowPreview 3.0

Part of CIS · Exchange Online · Mail flow · All checks

Run this check
Invoke-Maester -TestId CIS.M365.6.2.2

No mail flow rule sets the spam confidence level to -1 for mail from specific sender domains.

A spam confidence level of -1 tells Exchange Online to deliver the message without spam filtering. If the rule matches a sender domain, anyone who can spoof that domain, or who compromises it, sends mail straight to your users, with the same trust as an internal sender.

If a business exception is necessary, CIS says to whitelist the domain only when inbound mail from that domain originates from a specific IP address, and to document and regularly review the exception. The CIS PowerShell audit flags every rule that combines SenderDomainIs with SetSCL -1; this check does not verify an IP restriction or exception documentation, so assess each flagged rule against those conditions. Prefer fixing the cause of false positives, for example by configuring SPF, DKIM and DMARC for the partner domain.

  1. Sign in to the Exchange admin center.
  2. Go to Mail flow > Rules.
  3. Open each rule that is listed in the test result and remove the action Set the spam confidence level (SCL) to Bypass spam filtering, or delete the rule.
Every attribute of this check
FieldValue
Test IDCIS.M365.6.2.2
SeverityMedium
SuiteCIS
ProductExchange Online
FeatureMail flow
AreaEmail and collaboration protection
Resource typeMailFlowRule
User impactLow
Implementation costLow
MITRE ATT&CKT1566 Phishing, T1684.002 Email Spoofing
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 6.2.2
Benchmark levelL1
Benchmark profilesE3 Level 1
Supports controlscis-m365:6.2.2, nist-800-53-r5:SI-8
PowerShell testTest-MtCisTransportRulesNoDomainAllowList
ServicesExchangeOnline