A domain can have SPF, DKIM, and DMARC records and still allow convincing impersonation. The records may cover only the main mail platform while invoices, support tickets, forms, and marketing messages leave through other services. DKIM may sign with a vendor's domain instead of yours. DMARC may be set to monitoring indefinitely, and a subdomain may follow a weaker policy than the main domain.

The dashboard shows three green labels, but receiving systems have not been told to reject mail that fails to prove it represents your domain. The remedy is not to paste stricter records into DNS and hope. Email authentication is an inventory and change-management exercise. You need to know every legitimate sender, understand which identity each standard evaluates, align those identities with the address recipients see, move enforcement in controlled stages, and keep reviewing the reports after the project ends.

Why meeting the big providers' rules is not enough

The large mailbox providers now require bulk senders to publish DMARC, but they accept the monitoring setting as the minimum. Google's email sender guidelines, in effect since February 1, 2024, require anyone sending more than 5,000 messages a day to Gmail accounts to set up SPF, DKIM, and DMARC and to align the visible From domain with the SPF or DKIM domain. Yahoo's bulk sender requirements, enforced from February 2024, are similar. Microsoft announced comparable requirements for Outlook.com, Hotmail, and Live addresses, covering domains that send more than 5,000 messages a day, starting May 5, 2025.

All three accept a DMARC policy of p=none. That satisfies the delivery requirement, but none is the monitoring setting, in which the domain owner states no preference about what happens to mail that fails. A domain can meet every one of those rules and still be forged, because nothing in its record asks a receiver to quarantine or refuse the forgery.

The federal government set a higher bar for its own domains years earlier. CISA's Binding Operational Directive 18-01, issued October 16, 2017, required federal executive branch agencies to publish DMARC at p=none with at least one report recipient within 90 days and to reach p=reject on all second-level domains and mail-sending hosts within one year. Monitoring was the first step, not the destination.

Check your own domain in fifteen minutes

You can find most of the gaps described here without special tools. On Windows, open Command Prompt and run nslookup -type=txt example.com with your own domain in place of example.com, then run nslookup -type=txt _dmarc.example.com to see the DMARC record. In PowerShell, Resolve-DnsName -Name _dmarc.example.com -Type TXT returns the same record, and on a Mac the Terminal command dig +short txt _dmarc.example.com does the same job.

In the root domain's results, the SPF record is the TXT record that begins v=spf1. At _dmarc, the DMARC record begins v=DMARC1. Compare what you find with this list:

  • Two or more records beginning v=spf1 at the same name, which makes SPF return a permanent error for every message.
  • An SPF record ending in +all or ?all, or ending with neither an all term nor a redirect.
  • Include terms for services you stopped using.
  • No record at _dmarc, or more than one.
  • A DMARC record with p=none and no rua tag, which means no enforcement and no reports.
  • An enforcing p value combined with sp=none, which leaves subdomains at monitoring.

Records do not show what DKIM is doing, so send a real message. From your normal mailbox, write to a personal Gmail account you control, open the message there, select More next to Reply, and choose Show original. Find the Authentication-Results header and note the spf result with the smtp.mailfrom domain beside it, the dkim result with its signing domain, and the dmarc result. Receivers format this header differently, so look for those words rather than an exact layout.

Use an outside account for this test. Microsoft 365 leaves the DKIM signature off messages between addresses in the same organization, and Google notes that you cannot confirm its DKIM signing by sending a message to yourself.

If the DKIM signing domain is not your domain or one of its subdomains, that sender is not DKIM-aligned. If DMARC passes only because SPF aligned, note that sender as needing DKIM before you enforce. Repeat the test for every system that sends as your domain, not just the main mailbox. In Outlook on the web and the new Outlook for Windows, the same details are under More actions, then View, then View message details.

Outlook can also give recipients a visible hint. When the Show "via" tag setting is on in a Microsoft 365 anti-phishing policy, Outlook adds via and another domain beside the sender's address if the From domain differs from the DKIM signing domain or the MAIL FROM domain. If someone in a Microsoft 365 organization sees via next to your name, one of your senders is not aligned.

The identities inside one email

An email carries more than one domain identity. The visible From address is what a person normally sees in the mail client. A separate envelope sender, sometimes shown as Return-Path after delivery and called the MAIL FROM address in Microsoft's documentation, is used during transport and for bounces. DKIM adds a signing domain, the d= value, in its cryptographic signature. These values can differ for legitimate operational reasons.

That difference explains why an SPF or DKIM pass is not enough. A bulk-mail provider can send from its authorized servers and pass SPF using the provider's own bounce domain. It can sign correctly with the provider's DKIM domain. Both checks are technically successful, yet neither proves that the provider was authorized to use your domain in the visible From address.

Microsoft's DMARC documentation shows this case in a sample header. A message from contoso.com, one of Microsoft's example domains, arrives with spf=pass for smtp.mailfrom=bounces.adatum.com, dkim=pass for header.d=adatum.com, and dmarc=fail for header.from=contoso.com. Both checks passed for the vendor's domain, and neither passed for the domain the recipient saw.

DMARC asks the missing question: does at least one passing SPF or DKIM identity align with the visible From domain? Alignment can be strict, requiring an exact domain match, or relaxed, allowing an organizational domain and its subdomains to align. Only after that test does the receiver apply the published DMARC policy.

Relaxed is the default for both SPF and DKIM, and the current standard notes that nearly all domain owners find it sufficient. Under relaxed alignment, a bounce domain of bounces.example.com aligns with a From address at example.com, while under strict alignment it does not. A signature from a Microsoft 365 tenant's onmicrosoft.com domain aligns with neither, because it belongs to a different organizational domain.

SPF: authorize envelope senders

SPF is a DNS TXT record that identifies the systems permitted to send using a domain in the envelope identity. A receiver compares the connecting server's address with that record and returns a result such as pass, fail, softfail, neutral, or permerror. This is useful, but several operational traps are common.

Microsoft's published record for a domain that sends only through Microsoft 365 is v=spf1 include:spf.protection.outlook.com -all, and Google publishes v=spf1 include:_spf.google.com ~all for Google Workspace. Each include term pulls in a vendor's own list of servers, ip4 and ip6 terms name addresses directly, and the all term at the end says what to conclude about everything else. Other senders add their own include or address terms to the same single record.

A domain must not publish multiple competing SPF records. RFC 7208, the SPF standard, treats two records beginning v=spf1 at the same name as a permanent error, so adding a second record for a new vendor usually breaks SPF for everyone. Merge authorized sources into one record. Each subdomain that sends also needs a record of its own, because the root record does not cover marketing.example.com or any other name.

SPF also has a lookup budget. Receivers allow at most 10 terms that require DNS lookups, counting include, a, mx, ptr, exists, and redirect, and the lookups nested inside each vendor's include count too. Going over is a permanent error. In Microsoft's example, an include that points to a record containing three more includes costs four lookups, so three such vendors already exceed the limit, while ip4 and ip6 addresses and the all term cost nothing.

Microsoft's advice for staying under the limit is to move services you do not control to subdomains, each with its own budget, to consolidate senders, and to replace an include with addresses only when a vendor publishes a stable, documented list. It warns against flattening its own include, because Microsoft's sending addresses change frequently. Any flattened entries need review at least quarterly, which is easy to forget.

SPF authenticates the envelope domain, not necessarily the visible address. Configure third-party senders to use an aligned custom bounce or return-path domain when they support it. If they cannot, aligned DKIM may provide the DMARC pass instead. Do not add a vendor to the root SPF record merely because its documentation says it sends mail; first confirm which domain it uses for the envelope and whether your record is actually evaluated.

That last point matters because an include for a vendor that uses its own bounce domain does nothing for that vendor's mail. Receivers check the vendor's bounce domain, not yours. The include still spends lookups and authorizes every address the vendor publishes, not only the servers that handle your account.

Forwarding can break SPF because the forwarding server, not the original sender, makes the final connection. That is expected behavior, not proof that SPF is useless. DMARC requires either aligned SPF or aligned DKIM, so a valid signature that survives forwarding can preserve authentication. Some intermediaries add an Authenticated Received Chain, defined in RFC 8617, and Microsoft 365 lets administrators name trusted ARC sealers, but ARC is experimental and does not oblige any receiver to trust it.

Common SPF mistakes and how to spot them

Most broken SPF records fail in a handful of ways. Look for:

  • A second SPF record added by a vendor's setup wizard or a website migration.
  • An include for a domain that no longer resolves or has no SPF record, which Microsoft notes returns a permanent error.
  • Typos that Microsoft lists as common, such as a trailing period after a domain, an equals sign instead of a colon after include, or a space after the colon.
  • The ptr mechanism, which RFC 7208 says should not be published because it is slow and less reliable than the alternatives.
  • Bare a and mx terms left from an old host, which authorize whatever servers your website and inbound mail records point to.
  • More than two lookups that return nothing, which receivers may treat as a permanent error.
  • A long record split into 255-character strings with a missing space at the join, since receivers join the strings without adding spaces.

Microsoft recommends a TTL of at least 3,600 seconds on SPF records to avoid lookup timeouts. After any change, query the record again and send a fresh test message. A record that does not parse turns every SPF check into an error, which is worse than the record it replaced.

Hard fail or soft fail

The all term at the end of the record is a real decision, and Microsoft and Google disagree about it. Microsoft recommends -all for Microsoft 365 domains, explaining that it lets DMARC act on messages that fail SPF and also lack a DKIM signature. Google recommends ~all for Google Workspace.

The standard adds a caution of its own. RFC 9989 warns that a hard fail can lead some receivers to reject a message early in the SMTP conversation, before DMARC is evaluated, so mail that would have passed through aligned DKIM can be lost, and those rejections never appear in aggregate reports. Either ending is defensible once DKIM is aligned and DMARC enforces. The endings to avoid are +all, which authorizes every server on the internet, and ?all or a record with neither an all term nor a redirect, which RFC 7208 treats as neutral, an explicit statement that the domain asserts nothing either way.

DKIM: sign with a domain you control

DKIM adds a cryptographic signature to selected headers and the message body. The receiver retrieves the public key from DNS using the signing domain and selector, at a name such as selector1._domainkey.example.com, then verifies that the signed content has not changed in a way that invalidates the signature. The private key remains with the sending platform.

For DMARC, the signing domain identified by the d= value must align with the visible From domain. A vendor's default signature can pass DKIM while failing alignment. Configure a custom signing domain for each legitimate sender and confirm it on messages that actually arrive, not just in the vendor setup screen.

DKIM is also the identity that usually survives forwarding, and the current standard treats it as mandatory at the strictest policy. RFC 9989 says a domain that publishes p=reject must not rely solely on SPF for its DMARC pass, so its mail needs valid DKIM signatures. A domain that depends on SPF alignment alone puts forwarded mail at risk as soon as it enforces.

Turning on DKIM in Microsoft 365 and Google Workspace

Microsoft's documentation says Microsoft 365 does not DKIM-sign outbound mail from custom domains until you configure it; only the initial onmicrosoft.com domain is signed automatically. To turn it on, open the Microsoft Defender portal and go to Email & collaboration, Policies & rules, Threat policies, Email authentication settings, and then the DKIM tab. Try to slide your domain's Toggle to Enabled. Microsoft responds with an error dialog and sets the status to CnameMissing, which is expected at this stage, so select OK, open the domain's details, and copy the two records shown under Publish CNAMEs into your DNS host.

The record names are always selector1._domainkey and selector2._domainkey. For custom domains added since May 2025, the values point into Microsoft's dkim.mail.microsoft zone, while older domains keep values under the tenant's onmicrosoft.com domain. Copy the values exactly from the portal, because they include characters Microsoft assigns to each domain. Once Microsoft detects the records, which can take a few minutes or longer, return to the domain's details and turn on Sign messages for this domain with DKIM signatures.

The details should then read Signing DKIM signatures for this domain, and the DKIM tab should show the status Valid. Confirm the result on a message sent to an outside account, where the DKIM-Signature header should carry d= with your domain and s= with selector1 or selector2.

In Google Workspace, a super administrator goes to the Admin console, then Apps, Google Workspace, Gmail, and Authenticate email. Choose the domain, select Generate New Record, pick a 2048-bit key if your DNS host supports it, and keep the default selector, google. Publish the TXT record at google._domainkey with your DNS host, then return to the same page and select Start authentication. Google notes that DKIM can take up to 48 hours to start working after the key is added, and that the status then reads Authenticating email with DKIM. On a new Workspace account, the key is not available until 24 to 72 hours after Gmail is turned on.

Every other platform that sends as you needs the same treatment. Look in each vendor's settings for domain authentication or custom DKIM, publish the records it gives you, and confirm the signature on a delivered message. Each subdomain that sends needs its own DKIM configuration too, a point Microsoft makes for subdomains used with Microsoft 365.

Keys, selectors, and rotation

Selectors let a domain publish more than one key. Use that capability for safe rotation: publish the new public key, configure the sender to use it, verify live mail, then remove the old key after delayed messages no longer need it. RFC 6376, the DKIM standard, advises a new selector for each new key rather than reusing an old name.

Microsoft 365 handles the mechanics with its two selectors. Selecting Rotate DKIM keys in the domain's details on the DKIM tab, or running Rotate-DkimSigningConfig in Exchange Online PowerShell, starts a rotation that takes four days, or 96 hours, before the new key signs mail, and no second rotation can start until it finishes. Get-DkimSigningConfig reports each selector's key size, and if either shows 1024, running Rotate-DkimSigningConfig with -KeySize 2048 upgrades the next selector, while a second rotation upgrades the other.

Key length and algorithm should follow current guidance, not habit. RFC 8301 requires RSA keys of at least 1024 bits, recommends at least 2048, and says rsa-sha1 must not be used for signing or verifying. Do not preserve obsolete settings merely because they still produce a pass in one mailbox.

Protect private keys, limit who can change signing configuration, and replace keys when a sender relationship ends or compromise is suspected. Anyone holding a domain's private key can send mail that verifies as signed by that domain. When a vendor relationship ends, delete its selector records, and note that RFC 6376 also lets you publish a key record with an empty p= value to mark a key as revoked.

Mailing lists, security gateways, disclaimers, and forwarding systems can modify a message after it is signed. Changes to signed headers or the body may invalidate DKIM. Test the real path, including outbound gateways and list processing, before enforcement. If an intermediary rewrites every message, correct the signing point or modification sequence rather than exempting the whole domain indefinitely.

One more setting deserves a look in any vendor's signatures: the l= tag, which limits the signature to the first part of the body. RFC 6376 warns that it lets an intermediary append content, possibly enough to replace the original in the reader's eyes, tells signers to be extremely wary of it, and notes that receivers might ignore signatures that use it. If a sender adds l= to your signatures, ask why.

DMARC: alignment, policy, and reporting

A DMARC record is a TXT record published at the _dmarc name for the domain, such as _dmarc.example.com. It states the requested policy for messages that fail aligned SPF and DKIM and can provide addresses for aggregate reports. The core policies are none for monitoring, quarantine for suspicious handling, and reject for refusal.

A starting record reads v=DMARC1; p=none; rua=mailto: followed by the address of a dedicated mailbox or reporting service. The v tag must come first. Other tags you will meet are sp for existing subdomains, np for subdomains that do not exist, adkim and aspf for strict or relaxed alignment, and ruf for failure reports. If p is missing, the standard says to treat the record as p=none, and if a name holds more than one DMARC record, receivers discard them all.

Monitoring is a legitimate discovery stage. It is not an enforcement outcome. Under a none policy, receivers can report failures while continuing their usual handling, which lets the domain owner discover legitimate senders and identify abuse without interrupting mail. The failure is leaving the domain there because nobody owns the reports or the move to enforcement.

Aggregate reports summarize authentication results by sending source and domain. They arrive as XML attachments, usually compressed, typically once a day from each receiver that sends them, and they do not include message content. Route them to a service or dedicated mailbox able to parse the XML, retain useful history, and group sources without hiding raw details needed for investigation. Google and Microsoft both advise against using a personal mailbox, and Google notes that large organizations can receive hundreds or thousands of reports a day.

If reports go to another domain, such as a reporting service, that domain must publish an authorization record named for your domain under its _report._dmarc name and containing v=DMARC1, or receivers ignore the address. RFC 9990 describes the check, so if you use a reporting service, confirm the record exists before relying on the reports. Restrict access to the reports, because the metadata still describes the organization's mail ecosystem.

Failure reports, requested with ruf, are different. RFC 9991 notes that they can contain headers or even the full content of a failed message, and that many large providers limit or disable them; Gmail and Microsoft 365 do not send them at all. Start with aggregate reports only, as Microsoft recommends, and add ruf later only after a deliberate privacy decision.

What changed in the DMARC standard in 2026

Since this article was first published, the IETF has replaced the original DMARC specification. In May 2026 it published RFC 9989 for the protocol, RFC 9990 for aggregate reporting, and RFC 9991 for failure reporting. Together they make RFC 7489, an informational document from 2015, obsolete and put DMARC on the Standards Track. The version tag is still v=DMARC1.

The change most likely to affect a rollout is the removal of the pct tag, which asked receivers to apply the policy to a percentage of failing mail. The standard explains that pct was usually not applied accurately unless it was set to 0 or 100, and it replaces the tag with a test flag, t=y, which asks receivers to apply one level less than the published policy, so quarantine is treated as none and reject as quarantine. The new standard also removes the rf and ri tags, adds np for subdomains that do not exist, and finds a domain's organizational boundary by walking the DNS tree instead of relying on a public suffix list.

Vendor guides have not all caught up, and Microsoft's and Google's setup pages still describe pct. The new standard no longer defines pct and tells receivers to ignore tags they do not recognize, while receivers built to RFC 7489 ignore t for the same reason. During the transition, neither a percentage nor the test flag behaves the same everywhere, so move p one full step at a time and let the reports, not a sampling tag, tell you when the next step is safe.

Reading aggregate reports

Each report row lists a sending IP address, a message count, the From domain, the raw SPF and DKIM results with the domains they were checked against, and the DMARC evaluation, meaning whether each identity aligned and what the receiver did with the message. Microsoft's guidance highlights the most useful pattern, a raw SPF or DKIM pass paired with an alignment failure. That combination usually means a legitimate service sending with its own domain, and it is fixable.

Work through the rows in a fixed order. Sources you recognize that pass aligned DKIM are healthy. Sources you recognize that fail alignment need a change at the vendor, either custom DKIM or a custom bounce domain. Sources you do not recognize that fail everything are likely forgeries, which is what enforcement exists to stop, though some will be forwarders and mailing lists relaying your legitimate mail.

Expect gaps. Not every receiver sends reports, and Microsoft puts typical coverage at 70 to 90 percent of mail volume, so a sender missing from the reports has not been proven absent. Microsoft 365 itself sends no aggregate reports for organizations whose inbound mail passes through another service before reaching it. Microsoft suggests reviewing weekly during initial deployment and monthly once stable, and any change to how mail is sent deserves an earlier look.

Build the sender inventory before enforcement

Start with more than the mail administrator's list. Review DNS, message traces, DMARC aggregate data, accounts-payable records, procurement records, password-manager entries, identity-provider applications, help-desk and CRM settings, website forms, monitoring alerts, scanners, line-of-business applications, and interviews with finance, marketing, HR, and operations. A service may send only at renewal, year-end, or during an incident, so a quiet observation week is not enough.

Microsoft's advice for organizations that cannot easily identify every source is to turn on DKIM and publish DMARC at p=none with reporting quickly, then let the reports show what was missed. Do both. The reports find senders nobody remembers, and the interviews find the ones that send once a year.

For every sender, record:

  • Business purpose and accountable owner.
  • Visible From domains and addresses.
  • Envelope or bounce domain and SPF configuration.
  • DKIM signing domain, selector, and key owner.
  • Sending source or provider and expected volume pattern.
  • Whether mail is transactional, bulk, person-to-person, or automated.
  • Test recipient, support contact, renewal or termination date, and removal procedure.

Decide what to do with each sender

Retire senders with no owner or purpose. For legitimate services, prefer aligned DKIM and configure aligned SPF where practical. Separate bulk or higher-risk streams onto well-managed subdomains when that improves ownership and reputation isolation, as Microsoft recommends with a subdomain such as marketing.example.com for services outside your direct control. Separation is not an excuse to weaken policy, and each sending subdomain still needs authentication, monitoring, and a named owner.

Work through each sender in this order:

  • If nobody owns it or needs it, turn it off and remove its records.
  • If it can sign with your domain, publish its DKIM records and confirm the d= value on a delivered message.
  • If it also supports a custom bounce domain under your domain, set that up so SPF aligns as well.
  • If it can sign only for a subdomain, send from that subdomain and give it its own SPF, DKIM, and DMARC records.
  • If it cannot authenticate as you at all, have it send from its own domain with your name as the display name, or replace it.

Move to enforcement in controlled stages

Once legitimate sources consistently pass alignment, move from monitoring toward quarantine and reject. Microsoft's rollout guidance is to start with a domain or subdomain that has low volume and few senders, take it through none, quarantine, and reject, then repeat for busier subdomains and save the parent domain for last. RFC 9989 suggests at least a month at none and an equally long period at quarantine, comparing results along the way, and Google advises allowing 48 hours after setting up SPF or DKIM before setting up DMARC.

Receivers ultimately decide how they honor the request. RFC 9989 says final handling is always a matter of the receiver's local policy, and a receiver may accept failing mail even under reject. Increase enforcement while watching failures, support requests, and business workflows.

Test representative messages through multiple receiving providers and paths. Include replies, forwarding, aliases, mobile clients, ticket updates, invoice delivery, calendar messages, password resets, scanned documents, website submissions, and mail sent during continuity procedures. Inspect the raw authentication results for SPF, DKIM, DMARC, and the domains used in alignment. A message landing in the inbox proves delivery, not correct authentication.

Test your own inbox as well. Once your domain enforces, your own mail system can apply the policy to anything that claims to be from you, including website notifications that are not aligned. In Microsoft 365, that behavior depends on the anti-phishing setting Honor DMARC record policy when the message is detected as spoof, which Microsoft recommends leaving on.

Have a rollback plan that changes the DMARC policy deliberately while the underlying sender issue is fixed. Do not respond to one delivery complaint by authorizing an entire vendor network or publishing a permissive SPF mechanism. Narrow fixes preserve the value of the control. Record DNS changes, approval, expected effect, and verification results.

Respect DNS caching when sequencing changes. A record's TTL sets how long other systems may keep using the old value, so publish required sender records first, confirm them from outside your network, and only then make the enforcement change that depends on them.

Quarantine or reject

Quarantine and reject both count as enforcement under the current standard, and the difference is what receivers are asked to do with a forgery. Quarantine asks them to treat failing mail as suspicious, which Microsoft notes can mean a junk folder or a quarantine, and reject asks them to refuse it. Microsoft's stated goal is p=reject for all custom domains and subdomains, and CISA required it of the federal agencies covered by its 2017 directive.

The standard is more cautious. RFC 9989 says domains whose users might post to mailing lists should not publish reject, because list software that modifies and resends a post can make it fail DMARC, and rejections can get subscribers unsubscribed automatically. It notes that mailing list software has adopted workarounds to keep the From line aligned, and that a domain that does publish reject should have its users stay off Internet mailing lists or warn them that participation may be hindered.

The standard also narrows the practical gap between the two. RFC 9989 tells receivers to weigh the policy alongside other knowledge, such as a domain's usual sending patterns and content filtering, and without that analysis to handle failing mail as if the policy were quarantine. Reject remains the stronger request, but it is still a request.

For a small organization, the practical test is short. Ask staff which outside discussion lists they post to, from professional associations to vendor user groups. If the answer is none, move to reject after a clean quarantine period. If people depend on lists, send a test post through each one while at quarantine and stay there if posts fail, which is a defensible, documented decision that still asks receivers to treat forgeries as suspicious.

Subdomains need their own decisions

DMARC supports separate treatment for subdomains, and inheritance cuts both ways. A subdomain without its own DMARC record inherits the parent's policy, including names that do not exist, but one stray record at _dmarc.news.example.com set to p=none overrides the parent for that name. A strong policy on example.com may not produce the intended result for a delegated or independently used subdomain.

Use the sp tag for existing subdomains and the new np tag for names that do not exist. The np tag falls back to sp, and sp falls back to p. Check the parent record for sp=none in particular, because it quietly leaves every subdomain at monitoring.

Inventory subdomains that send, those that receive only, and those that should never appear in mail. Make ownership explicit before publishing a policy that affects all of them.

Domains that do not send mail need protection too

Organizations often secure the primary domain but ignore parked domains, campaign domains, old brands, and unused subdomains. An attacker values a believable identity even if the organization never sends legitimate mail from it. Keep these domains renewed, protected at the registrar, and included in monitoring.

For a domain that should never send mail, Microsoft and CISA give the same SPF record, v=spf1 -all, which authorizes no one. Add a DMARC record of v=DMARC1; p=reject at the _dmarc name. Microsoft advises against publishing DKIM records for parked domains, since the absence of a public key means a forged signature cannot verify.

If the domain also receives no mail, declare that too. RFC 7505 defines a null MX record, a single MX record with preference 0 and a target of a lone dot, which tells senders the domain accepts no email so delivery attempts fail immediately instead of retrying for days. A domain with a null MX must not publish any other MX record.

Microsoft notes that subdomains of a parked domain are hard to predict, so if your DNS host supports wildcard records you can publish v=spf1 -all at a wildcard name as well, and the parent's DMARC record already covers subdomains without a record of their own. In Microsoft 365, apply the same logic to your tenant's onmicrosoft.com domain if you do not send from it. In the Microsoft 365 admin center, go to Settings, then Domains, select the onmicrosoft.com domain, open DNS records, choose Add record, and add a TXT record with the name _dmarc and the value v=DMARC1; p=reject, leaving the TTL at one hour.

A non-sending subdomain should not inherit ambiguity just because nobody created a mailbox there. When a domain or service is retired, remove old vendor includes, DKIM selectors, and verification records. Abandoned DNS records can preserve trust in a service relationship that no longer exists.

A worked example

Imagine a ten-person accounting office that runs email on Microsoft 365 under example.com. The owner believes email security is finished, because a vendor dashboard shows SPF, DKIM, and DMARC all present. A fifteen-minute check tells a different story.

The root of example.com holds two SPF records, the Microsoft 365 record and an older one the web host added years ago. Together they make SPF return a permanent error for every message. The DMARC record reads v=DMARC1; p=none with no rua tag. The two DKIM CNAME records were published long ago, but nobody returned to the Defender portal to turn on Sign messages for this domain with DKIM signatures, so outbound mail carries no DKIM signature for the custom domain.

In effect, none of the office's mail passes DMARC today. Under p=none nothing visible happens, so nobody noticed. If someone had switched the record to p=reject that afternoon, every message the office sent would have been eligible for rejection at receivers that honor DMARC.

In the first week, the office merges SPF into one record that keeps the Microsoft 365 include and the web host's entry, because the website's contact form still sends from the host. It checks the two DKIM CNAME records against the values the portal shows, turns on signing, and confirms a signature with d=example.com on a test message received at a Gmail account. It adds a rua address for a reporting service, confirms the service has published the authorization record for example.com, and leaves the policy at none.

A month of reports sorts the sources. Microsoft 365 passes aligned SPF and DKIM. The newsletter platform passes SPF and DKIM for its own domains and fails alignment, so the office turns on the platform's domain authentication and moves newsletters to news.example.com with its own SPF, DKIM, and DMARC records. A payroll service sending pay-stub notices with an example.com From address appears in the data although nobody had listed it, and because it supports custom DKIM, the office manager takes ownership and configures it.

The interviews find what the reports could not. A client-portal service sends tax-organizer reminders only in January, so it has not appeared in November's data, and its custom DKIM is configured and tested before the next step. The web developer changes the contact form to send through a service that signs for example.com, and the web host's entry comes out of the SPF record, which now authorizes only Microsoft 365 and ends in -all.

The reports also show a steady trickle of messages from unfamiliar addresses that fail every check, which is exactly the mail enforcement will stop. After another clean month, the office moves to p=quarantine. Nobody on staff posts to outside discussion lists, so after an equally long quarantine period with no legitimate failures, it moves to p=reject.

The old firm name the partners still own, example.net, gets v=spf1 -all as its SPF record, a p=reject DMARC record, and a null MX. The tenant's onmicrosoft.com domain gets its own p=reject record. The end state is unremarkable on paper, but every sender now has an owner and a test message on file, and the reports go to someone who reads them.

Protect the control plane

Email authentication depends on DNS, registrar access, and third-party sender administration. Whoever can edit your DNS can add a sender, remove DKIM, or switch DMARC back to none. Protect those accounts with strong, preferably phishing-resistant authentication; CISA's fact sheet on phishing-resistant MFA names FIDO/WebAuthn and PKI-based methods as the phishing-resistant forms and calls phishing-resistant MFA the gold standard.

Limit who can change records, use named accounts, review changes, and maintain recovery methods that do not depend solely on the protected domain's email. Registrar locks add another barrier. ICANN's guide to domain status codes explains that clientTransferProhibited, clientUpdateProhibited, and clientDeleteProhibited, set by the registrar, tell the registry to reject requests to transfer, update, or delete the domain, and that some registry operators offer a Registry Lock Service that applies the server-level versions of those codes. A WHOIS lookup on your domain shows which codes are set.

Treat new sending services as a controlled change. The request should identify the owner, domains, expected messages, SPF and DKIM requirements, test plan, data handled, and end-of-service cleanup. A marketing platform should not be allowed to weaken a root-domain policy simply because a campaign launches tomorrow. Good onboarding makes secure sending faster because the necessary information is requested once and recorded.

What DMARC does not solve

DMARC can prevent unauthenticated use of your exact protected domain when receivers enforce the policy. It does not stop display-name impersonation, a registered lookalike domain, a compromised legitimate mailbox, or misleading content sent through an authorized platform. It does not judge whether an invoice is genuine. Microsoft's documentation makes the point directly, noting that a lookalike domain with valid records of its own can pass SPF, DKIM, and DMARC.

Pair it with strong authentication for mailboxes and administrators, payment-change verification outside email, protection of registrar and DNS accounts, monitoring for suspicious rules and delegated access, and awareness of confusingly similar domains. Mail filtering and user reporting still matter. In Microsoft 365, impersonation protection for named users and domains is a Defender for Office 365 feature that is not configured in the default policy, so check whether you have it and whether anyone turned it on.

Avoid presenting a DMARC pass as proof that a message is safe. It proves a relationship between the authenticated sending identity and the visible domain, nothing more.

Operational checks after launch

A maintained program should be able to show:

  • One accountable inventory covers every active sending service and domain.
  • Live samples from each sender pass DMARC through intended aligned SPF or DKIM.
  • The main domain and relevant subdomains publish an enforcing policy.
  • Non-sending and parked domains explicitly refuse unauthorized mail.
  • Aggregate reports are parsed, reviewed, and routed to an owner when a new source or failure appears.
  • DKIM keys and vendor relationships have rotation and removal procedures.
  • DNS and sender configuration changes require named access and leave an audit trail.
  • Delivery complaints are investigated through raw results rather than solved with broad exceptions.

Review reports continuously, with extra attention after onboarding a sender, changing a gateway, rotating keys, acquiring a domain, or ending a vendor. Establish who investigates an unknown source, who confirms whether it is legitimate, and how quickly risky authorization is removed. A report nobody is expected to act on is monitoring in name only.

What to do this week

If your domain is short of enforcement, these steps fit in an ordinary week and leave your main domain's policy where it is:

  • Look up your SPF and DMARC records and note every problem from the checklist above.
  • Send a test message to a Gmail account from each system you know sends as your domain, and record its dkim and dmarc results.
  • Turn on DKIM for every custom domain that sends from Microsoft 365 or Google Workspace.
  • Add a rua address to your DMARC record, pointing at a dedicated mailbox or reporting service.
  • Merge duplicate SPF records and remove includes only for services you have confirmed no longer send.
  • Publish a no-senders SPF record and a reject DMARC record for domains you own but never send from.
  • Start the sender inventory with finance, marketing, and whoever runs the website.
  • Confirm that registrar and DNS accounts use named logins and phishing-resistant sign-in.

The honest definition of done

The goal is not three DNS records. It is a mail ecosystem in which every legitimate sender is owned and aligned, unauthorized use of the domain receives an enforcing policy, and changes do not quietly reopen the gap. That requires cooperation across technical and business teams because many senders are purchased outside IT.

Configured carefully, SPF, DKIM, and DMARC remove a simple and credible impersonation path without changing how employees write email. The standards work together, and the operational discipline around them determines whether they continue to work. A green setup screen is the beginning of that evidence, not the end.

Where ALCO can help

ALCO's email security service sets up SPF, DKIM, and DMARC for every tool that sends as your domain, starts DMARC in monitoring, watches the reports, and then moves the policy to enforcement. Its domains and DNS service keeps registrations in your company's name, with record changes made through the help desk. The help desk is staffed 24 hours a day, including holidays, and calls are answered by a person.

Sources