When a printer, scanner, badge system, alarm panel, ERP, PSA, or random "notification appliance" sends mail as example.com, the problem is almost never the visible From: header by itself. The problem is what happens underneath it.
DMARC only passes when the From: domain aligns with either:
MAIL FROM domaind= domainThat alignment model is the heart of DMARC in RFC 7489.
This is why so many device-generated messages fail after a DMARC rollout. The device can put alerts@example.com in From:, but it usually cannot:
So the practical question becomes: which relay pattern makes the final message look like legitimate mail from your domain to outside receivers?
The relay patterns that pass DMARC reliably are usually these:
The patterns that fail most often are also predictable:
From: but keeps an unrelated DKIM or bounce domainIf the device cannot produce aligned authentication itself, the fix is to make something after the device do that work.
Devices and SaaS tools are awkward DMARC citizens for different reasons.
Printers, scanners, alarms, PBXs, NAS boxes, building systems, and old line-of-business apps often have only a few mail settings:
From: addressThat is not enough to guarantee DMARC alignment.
The device might authenticate to a relay, but the relay still decides the real envelope sender and whether DKIM gets added later. Or the device may not support TLS 1.2+, OAuth, or even authenticated submission at all.
Microsoft's guidance for multifunction devices reflects this reality. Exchange Online supports multiple sending methods, but they have very different boundaries: authenticated client submission, SMTP relay via connector, and Direct Send are not interchangeable, and Direct Send is not for internet delivery to arbitrary external recipients. Google's admin guidance makes the same point in a different way: if systems send through Google, the sending path still needs to fit Google's relay model and your SPF record needs to account for the real senders.
SaaS senders are usually better at mail transport, but they fail DMARC for a different reason: branding is easy, alignment is not.
A platform may happily let you set:
From: billing@example.comwhile still sending with:
DKIM d=vendor-mail.exampleMAIL FROM=bounces.vendor.exampleThat can look fine to a human and still fail DMARC.
If you want the protocol background for that distinction, Return-Path vs From: why SPF can pass while DMARC fails is the right refresher.
This is the cleanest default for devices and internal applications.
The idea is simple:
In practice, the most durable version is aligned DKIM added by the relay or mailbox platform, because devices almost never generate DKIM correctly on their own.
A healthy flow looks like this:
scanner -> local relay or mailbox platform -> internet recipient
From: scans@example.com
MAIL FROM: bounce.example.com
DKIM d=example.comThat message can pass DMARC because the visible From: domain aligns with DKIM d=example.com, and it may also align on SPF depending on how the relay is configured.
This pattern works well when:
It is also the pattern that creates the fewest surprises in DMARC aggregate reports, because the source you see becomes your relay tier rather than fifty incompatible appliances.
For devices or apps that can authenticate properly, Microsoft 365 client SMTP submission is often the simplest supported cloud path.
Microsoft documents that client SMTP submission sends authenticated mail through a cloud mailbox, requires authentication, and uses smtp.office365.com over port 587 or 25 with modern TLS support. Microsoft also notes an important operational constraint: if the device sends as an address different from the authenticated mailbox, the authenticated account needs Send As permission.
Why this pattern tends to pass DMARC:
include:spf.protection.outlook.comThis is usually a good fit for:
This is a bad fit for:
Do not confuse Microsoft 365 client submission with Direct Send. Microsoft documents Direct Send as internal-recipient-focused and not suitable for relaying to arbitrary external internet recipients, so it is not the general answer for DMARC-safe appliance mail.
If the sender cannot use mailbox submission but your organization still wants Microsoft 365 to be the egress path, Microsoft's SMTP relay pattern is the more appropriate design.
Microsoft's documented model is explicit:
That makes this pattern useful for:
alerts@example.com or do-not-reply@example.comBut there is one detail people miss: this is still not "magic DMARC mode".
You still need the post-relay message to authenticate as your domain. Microsoft explicitly recommends updating SPF for the domain so the relay path is recognized, and aligned DKIM is still preferable when available.
Use this pattern when:
Avoid it when:
Google's guidance for sending from a printer, scanner, or app leads to the same operational lesson: choose a supported Google path, then make sure your domain authentication matches the real path.
For Google-managed sending, the safe patterns are generally:
Google's SPF documentation is especially clear on the inventory point: your SPF record needs to include all mail senders for the domain, including third-party services and outbound gateways. That matters because admins often add a copier, app server, or relay and forget to update the domain's actual authorization model.
This pattern is usually solid when:
This pattern gets brittle when:
From: domain but another platform's unaligned DKIMSome devices simply cannot talk to Microsoft 365 or Google Workspace correctly.
Typical reasons:
From:In those cases, the right answer is often boring and effective: stop pretending the device is an internet sender.
Put a local SMTP relay in front of it.
That relay can:
That means the device is only speaking to a nearby trusted hop, while the relay is doing the DMARC-relevant work.
This remains one of the best designs for alarms, security systems, factory devices, and old embedded software that nobody wants to patch again.
For SaaS platforms, there is no reason to force everything through your own relay if the vendor already supports a correct aligned model.
The reliable direct-send pattern is:
If the SaaS platform supports only branded From: and nothing else, it is not really sending as your domain in a DMARC-safe way.
For delegated-signing setups, DKIM delegation with hosted keys covers the operational tradeoffs in more detail.
Use SaaS direct send when:
Do not use it when:
Authentication-Resultsp=reject and hoping branding alone will be enoughThis is the classic copier mistake.
The device sends from a branch office IP with:
From: no-reply@example.comMAIL FROMSometimes it works against a lenient receiver. Then DMARC enforcement tightens or a receiver gets stricter, and it falls apart.
This can pass DMARC if the platform signs correctly, but it creates messy attribution, secrets sprawl, and accidental overuse of a single mailbox identity.
It is better than direct unauthenticated sending, but it is not always the best long-term pattern.
This is the SaaS version of false confidence. If headers show a vendor DKIM domain and a vendor bounce domain that do not align with your visible From:, DMARC can still fail even while the product UI says the sender is configured.
Use this order.
Check a delivered message header, not just the vendor setup screen.
Look for:
dmarc=passheader.from=example.comdkim=pass header.d=example.com or aligned spf=pass smtp.mailfrom=...example.comRemember the exact DMARC rule from RFC 7489: one aligned SPF or DKIM pass is enough.
If the message fails, compare:
From: domainsmtp.mailfrom domainheader.d domainThat usually reveals the real problem in a minute or two.
If you need help reading those headers, How to troubleshoot Authentication-Results for DMARC, SPF, and DKIM walks through the process.
These senders often show up in aggregate reports before anyone notices missing mail.
Common signs:
From: domain and no aligned resultThat is why a good sender inventory built from DMARC reports matters so much for device and SaaS cleanup.
For appliances and SaaS senders, the real question is not "what From address should be used?" The real question is "which system creates the aligned authentication result the receiver will evaluate?"
Printers, scanners, alarms, and SaaS tools do not pass DMARC because they say they are sending as your domain. They pass DMARC because the final delivered message has aligned SPF or aligned DKIM for that domain.
In practice, the relay patterns that work are the ones where a real mail system, not the edge device, does the hard part:
If the sender cannot create aligned authentication, move the message through something that can.