Skip to main content
Blog

Closing Direct Send Without Silencing the Scanners

Reject Direct Send is now generally available in Exchange Online. It shuts the door anyone on the internet could use to mail your users as one of your own addresses. The catch is the scanner that has quietly relied on it for years.

Direct Send was never meant to be clever. It exists so that a scanner or a small application can drop mail straight onto your tenant's MX endpoint, with one of your own addresses as the sender, without signing in anywhere. Microsoft describes it as something that "mimics incoming anonymous emails from the internet, apart from the sender domain", which is a polite way of saying that the only thing telling your scanner apart from anyone else on the internet is the address it claims to have.

Microsoft has now made the switch that closes this door generally available in Exchange Online, for every tenant. Our advice is short: switch it on. The rest of this post is about the part that makes the advice harder than it sounds, which is usually standing in the copy room.

Why Anyone Can Send as You

Your MX record is public, and it has to be: it's how the rest of the world finds the place to deliver your mail. Exchange Online accepts mail for your domains from anyone who connects there, because that's what inbound mail is. Direct Send is the special case where the sender is one of your domains as well. No login, no connector, no certificate. Just a connection to contoso-com.mail.protection.outlook.com and a MAIL FROM that says ceo@contoso.com.

For the copier on the third floor that's convenient. For anyone else it's the same convenience. A message that claims to come from inside your company, delivered by your own tenant, lands in the inbox of a colleague who has every reason to trust it.

In May 2025 someone put that to use. Varonis traced a campaign that reached more than 70 organizations, most of them in the US, with mail that looked internal because, as far as Exchange Online could tell, it was. One line of PowerShell against the tenant's smart host, the victim's own address as the sender, and a PDF with a QR code leading to a fake Microsoft sign-in page. The lures were missed-call and fax notifications, the kind of mail a multifunction device sends every day, which is precisely why nobody thought twice.

The Switch Is Now Generally Available

Microsoft introduced the setting in April 2025 and has now declared it generally available. It's one line:

Set-OrganizationConfig -RejectDirectSend $true

It takes effect within about half an hour. From then on, anonymous mail that uses one of your domains in the envelope sender gets turned away at the door, unless it comes in over an inbound connector you've configured, and whoever sent it sees this:

550 5.7.68 TenantInboundAttribution; Direct Send not allowed for this organization from unauthorized sources

Ordinary inbound mail from other domains is not affected. Your partners still reach you, your newsletters still arrive. What stops is mail that claims to be from you without proving it came from you.

Why Microsoft Doesn't Just Switch It Off for Everyone

If the gap is this obvious, why is the switch still off by default in existing tenants? Because from where Exchange Online sits, Direct Send doesn't look like anything in particular. It looks like any other anonymous message from the internet, apart from the sender domain. There is no flag on it that says "this is the scanner in Building C, it's fine." Microsoft can't tell which of these messages a tenant still depends on, and neither, in most cases, can the tenant without going looking.

Switching it off for everyone would mean that copiers, alarm panels and warehouse label printers in a great many offices stop sending overnight. And for a fair share of those customers there would be no quick fix: the device can't sign in, can't do TLS, and the vendor stopped answering questions about it some years ago. That's a support queue nobody wants, so for now the decision sits with each tenant.

For now is the phrase to notice. The path so far has run in one direction: a switch in April 2025, the stated plan that new tenants get it on with no way to turn it off, and now general availability. Basic Authentication for SMTP AUTH is on the same road, with dates that have moved, but always toward the same end. We wouldn't plan the next few years of the copier fleet on the assumption that Direct Send stays open.

Find Out Who Is Using It First

Most tenants haven't flipped the switch yet for one simple reason: nobody knows what else goes quiet when they do. Microsoft suggests starting with your SPF record, because whatever sends through Direct Send without being listed there already has trouble getting delivered. For the actual traffic, the Change Optics report in the Exchange admin center shows example messages the setting would reject. A historical message trace for everything received without a connector goes back up to 90 days:

Start-HistoricalSearch -ReportTitle "Direct Send" -ReportType ConnectorReport `
  -ConnectorType NoConnector -Direction Received `
  -StartDate (Get-Date).AddDays(-89) -EndDate (Get-Date) `
  -NotifyAddress admin@contoso.com

If you have Defender for Office 365 Plan 2, Advanced Hunting finds the same mail in EmailEvents where the connector field is empty. One thing to know before you read the results: these reports work best when your MX points to a gateway that comes in over its own connector. If your MX points straight at Exchange Online, all your ordinary inbound mail arrives without a connector as well, and you'll want to filter for your own domains as the sender.

What turns up is rarely a surprise, just a longer list than expected: the copiers, a building management system, a label printer in the warehouse, and every now and then a cloud service that sends invoices in your name. If you'd like to see the effect before you commit, Microsoft's own middle ground is a mail flow rule that quarantines this kind of mail instead of rejecting it. You lose nothing, and a week later you know exactly what the switch would have stopped.

Moving the Scanners Out of the Way

Every source on that list needs a path that proves it's yours. There are three, and most tenants end up using more than one.

A Partner Connector

Microsoft's answer for legitimate senders is an inbound connector of type Partner that trusts your office's public IP address, or a certificate, which few scanners have in practice. It costs nothing, and for a single site with a static address it works. The small print: the address must not be shared with anyone outside your organization, every site with its own internet breakout needs its own entry, and the IP address becomes the only key. Anything behind it can send as anyone in your domain, including the laptop in accounting that clicked on the wrong fax notification.

High Volume Email

Devices that can sign in and only ever mail colleagues can move to High Volume Email, which we looked at in the post on SMTP AUTH. It doesn't reach external recipients, so the scanner that sends delivery notes to a supplier is out of luck.

A Relay in Between

The rest were on Direct Send in the first place because they can't do much else. What they need is a service that accepts what they can do, makes them prove who they are, with a login or the address range they send from, and then decides who may send as whom before anything reaches your tenant. The side door stays closed, and the copier keeps a way in that isn't anonymous.

What to Do This Week

  1. Run the no-connector message trace, open the Change Optics report, and write down every source you find.
  2. Sort them: a partner connector for known IP addresses you trust completely, High Volume Email for devices that sign in and only mail internally, a relay for the rest.
  3. Put a quarantine rule in place for a week and look at what lands there.
  4. Then set RejectDirectSend and keep an eye on 5.7.68 bounces for a few days.

We built Sendman as that relay, and our Direct Send page shows how it fits. The scanner signs in with the login it already has, or sends from an address range you allow, and it may send as scan@contoso.com but not as your CEO.

Sources

Keep the Scanners, Close the Side Door

Sendman is the SMTP relay for Microsoft 365. Devices sign in with the logins they have, validated against Microsoft Entra ID – no app registration, no consent, nothing to change in your tenant – or send without a login from the address ranges you allow, and your policies decide who may send as whom.

See how it worksRequest preview