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

Ensure Direct Send is set to be rejected

MT.1062MediumExchange OnlineMail flow

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

Run this check
Invoke-Maester -TestId MT.1062

Direct Send SHOULD be configured to Reject in Exchange Online

Rationale: Attackers can exploit direct send to send spam or phishing emails without authentication. Direct Send covers anonymous messages (unauthenticated messages) sent from your own domain to your organization’s mailboxes using the tenant MX.

  1. Connect to Exchange Online:
Connect-ExchangeOnline
  1. Configure the setting to reject direct send:
Set-OrganizationConfig -RejectDirectSend $true
  1. Verify the policy:
(Get-OrganizationConfig).RejectDirectSend

The result should be True.

Every attribute of this check
FieldValue
Test IDMT.1062
SeverityMedium
SuiteMaester
ProductExchange Online
FeatureMail flow
AreaEmail and collaboration protection
Resource typeTenant
User impactMedium
Implementation costMedium
MITRE ATT&CKT1566 Phishing, T1684.002 Email Spoofing
Supports controlsnist-800-53-r5:CM-7
PowerShell testTest-MtExoRejectDirectSend
ServicesExchangeOnline