All articles
    Deliverability

    Mailgun DMARC Record Errors and Fixes: Troubleshooting Guide

    DMARC failures on mail sent through Mailgun usually come from one of four things: the record is missing or duplicated, SPF and DKIM pass but do not align…

    VeriMailX Team November 23, 2026 3 min read

    Key takeaways

    • Read the Authentication-Results header of a failing message.
    • If it shows dmarc=fail, look at the spf= and dkim= results beside it and the domains they name.
    • If both pass but DMARC still fails, the domains do not align.

    DMARC failures on mail sent through Mailgun usually come from one of four things: the record is missing or duplicated, SPF and DKIM pass but do not align with the From domain, the reports are not reaching anyone, or a source you forgot about fails. DMARC does not add its own signature, so each problem comes back to a record you can query and a header you can read. The table pairs each symptom with its check and fix.

    Research checked: 12 November 2026

    The short answer

    Read the `Authentication-Results` header of a failing message. If it shows `dmarc=fail`, look at the `spf=` and `dkim=` results beside it and the domains they name. If both pass but DMARC still fails, the domains do not align. If there is no DMARC result at all, the record is missing or invalid, so run `dig` on `_dmarc` for the From domain.

    Symptom table

    SymptomLikely causeCheckFix
    `dmarc=none`No DMARC record found for the From domain`dig +short TXT _dmarc.<from domain>` returns nothingPublish the record at `_dmarc`
    `dmarc=permerror` or ignored policyTwo DMARC records at one nameCount the `v=DMARC1` answersKeep one record
    `dmarc=fail`, SPF and DKIM both passNeither passing domain aligns with FromCompare `smtp.mailfrom` and `d=` with the From domainSign with, or send from, an aligned domain
    `dmarc=fail`, DKIM failsSignature broken, or selector removedRead `s=` and query that selectorRestore the selector; see the DKIM guide
    Reports never arrive`rua=` mailbox missing, or on another domain without authorisationLook for an authorisation record for the report domainCreate the mailbox, or publish the authorisation record RFC 7489 describes
    Mail rejected despite `p=none`Another filter or provider ruleCompare the rejection text with the DMARC resultTreat it as a separate problem; DMARC did not cause it
    One source fails repeatedlyForgotten sender not in SPF or DKIMGroup failing rows by source IP in the reportsAuthenticate that source or stop using it

    Symptoms in detail

    No DMARC result at all

    A DMARC check needs a record at `_dmarc.<From domain>`. The name must be exactly `_dmarc`. A record at `dmarc` or at the root will not be found. If the From domain is a subdomain with no record of its own, the parent's `sp=` tag can apply instead, so check both the subdomain and the parent. RFC 7489 defines this lookup.

    Two records at one name

    The specification expects one DMARC record per domain. Two records make the policy unreliable, so receivers may treat the domain as having no valid policy. Find both with `dig +short TXT _dmarc.example.com`, keep the one with the policy and reporting you want, and delete the other.

    Pass, but not aligned

    This is the most common case. SPF may pass for `bounce.mailgun.example` while the From address is `hello@example.com`. DMARC then needs DKIM to align with `example.com`. Under relaxed alignment, which is the default, a subdomain aligns with its parent, but a different organisational domain does not. Check the `d=` tag and the `smtp.mailfrom` value in the header, and correct whichever one sits outside the From domain.

    DKIM fails inside DMARC

    If the DKIM signature fails, the selector may be missing, the key damaged, or the message altered after signing. The DKIM errors guide covers these. Fix the signature first, because DMARC will pass on DKIM alone once the signature is aligned.

    Reports do not arrive

    Aggregate reports go to the address in `rua=`. If that mailbox does not exist, or the address is on a different domain, the domain needs an authorisation record for the reporting, as RFC 7489 describes. Without it, reporting receivers may ignore the request. Use an address on the same domain as the record to avoid this.

    Mail is rejected while the policy is none

    `p=none` only asks receivers to take no action on a DMARC failure. A rejection with `p=none` comes from another filter, such as a provider's own policy or a rate limit, not from DMARC. Read the rejection text. If it names a reputation or policy, treat it as a sending-reputation problem and not as a DMARC one.

    Frequently asked questions

    Keep reading

    Comparisons

    Instantly vs Smartlead: How to Choose a Cold Email Platform

    Instantly and Smartlead both support cold email campaigns across multiple sending accounts. The better choice depends on your contact limits, sending volume, reply workflow, and the cost of the features you actually need. Start

    Read
    Comparisons

    Instantly vs Smartlead Deliverability: How to Compare Inbox Placement

    Neither Instantly nor Smartlead can guarantee that a cold email reaches the inbox. Both provide tools for managing outreach, but inbox placement also depends on your sending domain, authentication, recipient list, message and the

    Read
    Comparisons

    Instantly vs Smartlead Pricing: Compare the Real Cost of Outreach

    The headline subscription is only one part of a cold email budget. The right comparison includes sending limits, contact storage, mailboxes, lead data, verification and any tools needed for your team. A cheaper entry plan can

    Read