← RFC Reference

RFC 6591: Authentication Failure Reporting (AFRF)

Current Standard Abuse Reporting & Feedback AuthenticationARF ExtensionDMARC Forensics
ELI5: When someone forges your domain in an email and it fails authentication checks (SPF, DKIM, DMARC), the receiving server can send you a detailed incident report. RFC 6591 defines the format for that report — it extends the standard spam complaint format (ARF) with extra fields specific to authentication failures.

Why This Exists

Email authentication mechanisms like SPF, DKIM, and DMARC detect spoofed or unauthorized messages. When these checks fail, the receiving server takes action (reject, quarantine, or allow). But the domain owner — the one being spoofed — needs to know about these failures to:

DMARC aggregate reports (rua) provide statistical summaries, but they do not include message details. DMARC forensic reports (ruf) use the AFRF format defined by this RFC to provide per-message detail: the actual headers, the authentication results, and the specific failure reason.

RFC 6591 extends RFC 5965 (ARF) by adding the Feedback-Type: auth-failure report type and defining additional fields for authentication-specific data.

How It Works

An AFRF report is an ARF message (multipart/report with report-type=feedback-report) where the machine-readable part uses Feedback-Type: auth-failure and includes authentication-specific fields.

AFRF Report Example

From: dmarc-reporter@receiver.example.com
To: dmarc-ruf@example.com
Subject: Auth failure report for example.com
MIME-Version: 1.0
Content-Type: multipart/report; report-type=feedback-report;
    boundary="AFRF-BOUNDARY-001"

--AFRF-BOUNDARY-001
Content-Type: text/plain

Authentication failure report for a message claiming
to be from example.com, received from IP 192.0.2.55.

--AFRF-BOUNDARY-001
Content-Type: message/feedback-report

Feedback-Type: auth-failure
User-Agent: Receiver-DMARC/2.0
Version: 1
Original-Mail-From: spoofed@example.com
Arrival-Date: Tue, 10 Mar 2026 16:42:00 -0500
Source-IP: 192.0.2.55
Auth-Failure: dmarc
Authentication-Results: receiver.example.com;
    dkim=fail header.d=example.com;
    spf=fail smtp.mailfrom=spoofed@example.com;
    dmarc=fail header.from=example.com
Reported-Domain: example.com
DKIM-Domain: example.com
Delivery-Result: reject

--AFRF-BOUNDARY-001
Content-Type: text/rfc822-headers

From: ceo@example.com
To: finance@receiver.example.com
Subject: Urgent wire transfer needed
Message-ID: <fake-msg-001@192.0.2.55>
DKIM-Signature: v=1; a=rsa-sha256; d=example.com;
    s=selector1; b=INVALID...

--AFRF-BOUNDARY-001--

Key Technical Details

Fields Added by RFC 6591

These fields appear in the message/feedback-report part alongside the standard ARF fields:

Field Required Description
Auth-Failure Yes Type of authentication failure: adsp, bodyhash, dkim, dmarc, iprev, sender, spf
Delivery-Result No What happened to the message: delivered, spam, policy, reject, other
DKIM-Domain No The d= value from the DKIM signature that failed
DKIM-Identity No The i= value from the DKIM signature that failed
DKIM-Selector No The s= value from the DKIM signature that failed
Authentication-Results No Full authentication results per RFC 8601
Reported-Domain No The domain whose authentication policy was violated

Auth-Failure Values

Value Meaning
dmarc DMARC policy evaluation failed (neither SPF nor DKIM aligned)
dkim DKIM signature verification failed
spf SPF check failed for the envelope sender
bodyhash DKIM body hash did not match (message body was modified in transit)
iprev Reverse DNS check on the sending IP failed
sender The Sender header verification failed
adsp DKIM ADSP check failed (legacy; rarely used)

Relationship to DMARC Reporting

DMARC (RFC 7489) defines two reporting addresses in its DNS record:

In practice, forensic reporting via ruf has limited adoption. Many large mailbox providers (Gmail, Yahoo) do not send forensic reports due to privacy concerns. Those that do often redact the message body and recipient address. Aggregate reports (rua) remain the primary source of DMARC feedback.

Common Mistakes

Deliverability Impact

Related RFCs