Skip to content
Coupons 8

You have not saved any offers or providers yet. Tap the bookmark on an offer or choose Save on a provider profile.

    Monitoring free

    Check SPF, DKIM and DMARC: results, errors and solutions

    SPF, DKIM and DMARC produce different results and only work reliably together. This guide explains status values, alignment and common errors using practical combinations.

    Go to comments
    Key takeaway

    SPF checks the sending source, DKIM a domain signature, and DMARC alignment with the visible sender domain. So a single pass does not explain the overall result.

    How SPF, DKIM and DMARC work together, including alignment and the results pass, quarantine and reject
    DMARC links successful authentication to the visible sender domain and a published policy · Created with the help of AI.

    Three checks with different purposes

    What the methods assess
    MethodChecksKey limitation
    SPFwhether the sending infrastructure is authorised for a domaincan fail when messages are forwarded
    DKIMwhether a domain signature is valid and the signed parts are unchangeda valid signature from another domain is not enough for DMARC
    DMARCwhether SPF or DKIM passes and aligns with the visible From domaindoes not assess whether the message is generally desirable

    Understanding SPF results

    The SPF check first assesses the published record. When an email is actually sent, the recipient also checks the sending IP address and the domain used for SPF.

    • pass: The source is authorised according to SPF.
    • fail: The source is not authorised, and the record ends with a strict qualifier.
    • softfail: The source is probably not authorised; this result alone does not require rejection.
    • neutral: The domain owner makes no statement about the source.
    • none: No applicable SPF policy was found.
    • temperror: Temporary DNS or processing error; check again later.
    • permerror: Permanent syntax or evaluation error, such as multiple SPF records or exceeding the lookup limit.
    SPF when messages are forwarded

    Forwarding often changes the server that transmits the message. This server is not listed in the original domain's SPF record, even though the message is legitimate. DKIM can preserve authentication in this situation.

    Understanding DKIM results

    The DKIM check retrieves the public key for a specific selector. For an actual message, the recipient also compares the signature with the signed content.

    • pass: The signature and public key match.
    • fail: The signature is invalid, the key does not match or the signed content has been altered.
    • none: No evaluable DKIM signature is present.
    • temperror: The key could not be loaded or processed temporarily.
    • permerror: A permanent format, selector or key problem.

    If there are errors, check the d= parameter for the signing domain and s= for the selector. Multiple signatures are possible; DMARC considers only aligned signatures that pass.

    DMARC and alignment

    The DMARC check shows the published policy. The result for a message also depends on SPF, DKIM and alignment. DMARC passes if at least one of these methods succeeds and is aligned:

    • SPF passes and its verified domain matches the visible From domain.
    • DKIM passes and the domain under d= matches the visible From domain.

    In relaxed mode, a subdomain of the same organisational domain may be sufficient. In strict mode, the domains must match exactly. The aspf and adkim tags control this setting.

    What p=none, quarantine and reject mean

    • p=none: DMARC is evaluated, but the domain owner does not request any special handling for messages that fail.
    • p=quarantine: Recipients should treat messages that fail as suspicious, often by placing them in the spam folder.
    • p=reject: Recipients should reject messages that fail DMARC.

    The policy is an instruction from the domain owner, not a guarantee that every recipient will handle messages in the same way. Start with reports, identify all legitimate sending sources and tighten the policy in a controlled manner.

    Reading Authentication-Results

    In the header, Authentication-Results shows which checks the receiving server performed. Look for the SPF, DKIM and DMARC results, the domains assessed for each, and any additional reasons. Primarily trust the headers added by your own receiving mail service; headers added upstream or supplied by the sender are not automatically trustworthy.

    Typical combinations

    Interpreting the results
    SPFDKIMDMARCInterpretation
    pass, alignednonepassDMARC passes via SPF
    failpass, alignedpassCommon with forwarding; DMARC passes via DKIM
    pass, not alignedpass, not alignedfailService authenticates its own domains rather than the visible sender domain
    permerrornonefailRepair the SPF configuration and set up DKIM

    Fixing errors systematically

    1. Send a new test message to an external mailbox.
    2. Open the full header and document the results.
    3. Check the public records using the three checks.
    4. List all legitimate sending services.
    5. Combine SPF records without exceeding the lookup limit.
    6. Enable DKIM for each service and check the selector.
    7. Establish alignment and only then tighten DMARC.

    Understand authentication using a real test email

    A DNS check assesses the published records. A test email also shows which identities are used when sending and whether SPF, DKIM and DMARC pass, including alignment.

    Additional authentication tests
    ServiceUseful forInterpretation
    LearnDMARCInteractive walkthrough of SPF, DKIM, DMARC and domain alignmentParticularly helpful for understanding the domains involved and the DMARC result.
    AboutMy.EmailAnalysis of authentication, headers and transport encryption for a test messageComplements the DNS-only view with the message's actual delivery path.
    Mail-TesterQuick overall check of a test email for authentication and common spam signalsThe score shown is a diagnostic indicator, not a guarantee that the message will reach the inbox.
    Data protection when sending a test

    Send only a specially created, non-sensitive test message. External services receive its content and headers. Do not include login details, customer data or confidential correspondence in a test like this.

    Frequently asked questions

    Does DMARC pass guarantee delivery?

    No. Authentication is just one signal. Reputation, complaints, content and recipient policies also matter.

    Do SPF and DKIM both have to pass?

    For DMARC, at least one passing, aligned method is enough. In practice, both methods should be set up correctly.

    Why does a tool show a valid record, while the message fails?

    A tool checks the published record. The message result also takes into account the sending IP, selector, signature, content and alignment.

    Related guides

    ConclusionAuthorMarco Keul

    Read SPF, DKIM and DMARC as part of a joined-up diagnosis. Check public records, analyse a real test message and pay attention to alignment with the visible sender domain. Only then can you reliably fix an error.

    Sources: RFC 7208: Sender Policy Framework RFC 6376: DomainKeys Identified Mail Signatures RFC 7489: DMARC RFC 8601: Authentication-Results LearnDMARC AboutMy.Email Mail-Tester

    Tags for this article

    Write a comment

    More interesting articles