<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- used by XSLT processors -->
<!-- OPTIONS, known as processing instructions (PIs) go here. -->
<!-- For a complete list and description of PIs,
     please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable PIs that most I-Ds might want to use. -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC): -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="3"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references: -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space:
     (using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of popular PIs -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="info" docName="draft-adams-bimi-reporting-10" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" xml:lang="en" tocInclude="true" tocDepth="2" symRefs="true" sortRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.1.1 -->
  <front>
    <title abbrev="BIMI Reporting">BIMI Reporting</title>
    <seriesInfo name="Internet-Draft" value="draft-adams-bimi-reporting-10"/>
    <author fullname="J. Trent Adams" initials="T" surname="Adams">
      <organization>Proofpoint</organization>
      <address>
        <postal>
          <street>105 Edgeview Drive, Suite 440</street>
          <city>Broomfield</city>
          <region>CO</region>
          <code>80021</code>
          <country>USA</country>
        </postal>
<!-- <phone/> -->
<!-- <facsimile/> -->
      <email>tadams@proofpoint.com</email>
        <!-- <uri/> -->
      </address>
    </author>
    <author fullname="Alex Brotman (ed)" initials="A" surname="Brotman">
	    <organization>Comcast, Inc.</organization>
	    <address>
		    <email>alex_brotman@comcast.com</email>
	    </address>
    </author>
    <date year="2025"/>
    <!-- <area/> -->
<!-- <workgroup/> -->
      <keyword>bimi</keyword>
    <keyword>reporting</keyword>
    <keyword>dmarc</keyword>
    <!-- <keyword/> -->
    <abstract>
      <t>
To support the utility of Brand Indicators for Message Identification (BIMI), domains publishing BIMI records may find it useful to know when their logos are failing to be displayed as expected. When an entity, for example a mailbox operator, determines whether or not to display the logo identified in the BIMI record, they may encounter errors trying to retrieve the image file.  Similarly, the associated evidence document used to validate the logo may fail evaluation. In other cases, the evaluator may decide that despite everything validating, they may rely on local policies that determine validated logos should still not be displayed. This specification defines how BIMI evaluators should report their evaluation outcome back to the publisher within the context of existing Domain-based Message Authentication, Reporting, and Conformance (DMARC) reports.
      </t>
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>
        Organizations sending email associated with specific brands and domains may use Brand Indicators for Message Identification (BIMI) <xref target="I-D.blank-ietf-bimi" format="default"/> to signal which brand identifier (e.g. a company logo) should be displayed when receiving authenticated email for the specified domain.  This document is intended as a companion to the BIMI specification as it defines the associated error reporting method and schema. It  includes information necessary for Domain Owners to identify and troubleshoot potential issues related to the evaluation of the elements identified within their BIMI records.
      </t>
      <t>
        The document supports the ability for a domain sending email to identify and diagnose problems with their BIMI deployment.
        It is designed to be as easy to deploy as possible for BIMI reporters and report consumers.
        It integrates with existing Domain-based Message Authentication, Reporting, and Conformance (DMARC) <xref target="RFC7489" format="default"/> aggregate reporting (RUA) rather than adding a new reporting mechanism.
        The data being reported is aggregated in a way that respects the privacy of senders, receivers, and users by not leaking potentially sensitive information.
      </t>
      <t>

      </t>
      <t>
        This document is intended as a companion to the BIMI specification draft <xref target="I-D.blank-ietf-bimi" format="default"/> by adding reporting abilities.
      </t>
      <section numbered="true" toc="default">
        <name>Terminology and Definitions</name>
        <t>
          The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
          "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in
          this document are to be interpreted as described in <xref target="RFC2119" format="default"/> and <xref target="RFC8174" format="default"/> when, and only when, they appear in all capitals, as shown here.
        </t>
        <t>
          This document is designed to operate within the context of Internet Mail service, as defined in <xref target="RFC5598" format="default"/>, as well as the reporting structure defined by <xref target="RFC7489" format="default"/>.  In addition to the terms defined below, some terminology throughout the document has been inherited from those specifications.
        </t>
        <dl spacing="normal">
          <dt>Aligned Domain:</dt>
            <dd>The FQDN that passes the DMARC evaluation to determine where to initially look the associated DMARC policy record.</dd>
          <dt>Assertion Domain:</dt>
              <dd>The FQDN where the BIMI record associated with an email is found.</dd>
          <dt>Evaluator:</dt>
            <dd>The entity or organization that evaluates the BIMI assertions when an email is received and has passed DMARC evaluation.  This may be the email receiver (e.g. the MX server identified as the inbound MTA gateway), or another entity that processes the email later in the email evaluation pipeline.  For example, an MTA may perform DMARC and BIMI evaluation within a single authentication process, while in some contexts DMARC evaluation may occur at a perimeter MTA while BIMI evaluation is performed by another MTA later in the process (which may or may not be operated by the same organization).</dd>
          <dt>Report:</dt>
            <dd>The data compiled by the Evaluator about how it evaluated BIMI in relation to email sent from, or on behalf of, a specified domain.</dd>
          <dt>Reporter:</dt>
            <dd>The operator that sends Reports to the Report Consumer identified within the applicable DMARC record.</dd>
          <dt>Report Consumer:</dt>
            <dd>An operator that receives Reports from a Reporter implementing the reporting mechanism described in this document.  Such an operator might be receiving reports about its own messages, or Reports about messages related to another operator.  This term applies collectively to the system components that receive and process these reports and the organizations that operate them.</dd>
          <dt>Selector Name:</dt>
              <dd>The name of the BIMI selector, if one exists, within the designated header field in an email.  If no specific BIMI selector is identified, the Selector Name is assumed to be "default".</dd>
        </dl>
      </section>
    </section>
    <section numbered="true" toc="default">
      <name>Identifying the Report Consumer</name>
      <t>
        Given that BIMI relies on DMARC evaluation, this document does not define a separate Report Consumer outside the context of DMARC.  The BIMI Report MUST be included as part of a DMARC report sent to the RUA address identified within the applicable DMARC record for the email being evaluated.  The applicable Report address is determined by the DMARC policy discovered for the Aligned Domain of the sending email.  This may be the Fully-Qualified Domain Name (FQDN) <xref target="RFC1983" format="default"/>, or Organizational Domain as determined by DMARC evaluation.  Note that the domain of the applicable DMARC policy may not be the same domain where the applicable BIMI record is discovered.
      </t>

<section numbered="true" toc="default">
  <name>Example 1: Sub-domain Reporting</name>
      <t>
        For example, consider the following situation in which an Organizational Domain (i.e. "example.com") has slightly different DMARC and BIMI reporting configurations for the two FQDNs:
      </t>

        <dl>
          <dt>Domain: example.com</dt>
          <dd>
            <ul spacing="compact">
              <li>Publishes a DMARC record</li>
              <li>Requests RUA reports be sent to "rua@example.com"</li>
              <li>Publishes a BIMI record</li>
            </ul>
          </dd>
        </dl>
        <dl>
          <dt>Domain: sub.example.com</dt>
          <dd>
            <ul spacing="compact">
              <li>Publishes a DMARC record</li>
              <li>Requests RUA reports sent to "rua@sub.example.com"</li>
              <li>Does not publish a BIMI record</li>
            </ul>
          </dd>
        </dl>

      <t>
        When the organization sends email with the <xref target="RFC5322" format="default"/>.From domain set to "sub.example.com", the Evaluator does not find a BIMI record at the FQDN, but does find one at the Organizational Domain level: "example.com".
      </t>
      <t>
        The Evaluator sends BIMI reports to the applicable report consumer identified within the Aligned Domain's DMARC record: "rua@sub.example.com", not to the RUA address associated with the Organizational Domain where the BIMI record was discovered.
      </t>
</section>

<section numbered="true" toc="default">
  <name>Example 2: Inherited Reporting</name>
      <t>
        In another example, consider another situation in which an Organizational Domain (i.e. "example.com") has slightly different DMARC and BIMI reporting configurations for the two FQDNs:
      </t>

        <dl>
          <dt>Domain: example.com</dt>
          <dd>
            <ul spacing="compact">
              <li>Publishes a DMARC record covering all sub-domains</li>
              <li>Requests RUA reports be sent to "rua@example.com"</li>
              <li>Publishes a BIMI record</li>
            </ul>
          </dd>
        </dl>
        <dl>
          <dt>Domain: sub.example.com</dt>
          <dd>
            <ul spacing="compact">
              <li>Does not publish a DMARC record</li>
              <li>Does not publish a BIMI record</li>
            </ul>
          </dd>
        </dl>

      <t>
        When the organization sends email with the <xref target="RFC5322" format="default"/>.From domain set to "sub.example.com", the Evaluator does not find a BIMI record at the FQDN, but does find one at the Organizational Domain level: "example.com".
      </t>
      <t>
        The Evaluator sends BIMI reports to the applicable report consumer identified for the Aligned Domain which is discovered within the applicable DMARC record published at the organizational domain: "rua@example.com".
      </t>
</section>

    </section>

    <section numbered="true" toc="default">
      <name>Reporting Schema</name>
      <t>
        The following data defined in this section MUST be reported within the context of an XML-formatted DMARC <xref target="RFC7489" format="default"/> Aggregate Report (RUA).  Given the reliance on DMARC evaluation, the BIMI Reports are sent as additional elements within RUA reports, inheriting its terminology and metadata (e.g. "date_range", "report_id", etc.).
      </t>
      <t>
        The complete set of BIMI Report elements and attributes are collected within a single top-level &lt;bimi&gt; element within the RUA &lt;xml&gt; root element (i.e. at the same level as the &lt;record&gt; elements).  The &lt;bimi&gt; element SHOULD be the last top-level element within the &lt;xml&gt; root element, but MAY be placed in any order in relation to other top-level elements.
      </t>

      <t>
        The nested structure of the elements is illustrated below. The attributes and contents for each element are described in more detail in the following sections.
      </t>

      <sourcecode>
    &lt;bimi&gt;
      &lt;domain&gt;
        &lt;assertion&gt;
          &lt;evidence /&gt;
          &lt;errors&gt;
            &lt;assertion&gt;[count]&lt;/assertion&gt;
            &lt;evidence&gt;[count]&lt;/evidence&gt;
            &lt;indicator&gt;[count]&lt;/indicator&gt;
            &lt;undefined&gt;[count]&lt;/undefined&gt;
          &lt;/errors&gt;
        &lt;/assertion&gt;
      &lt;/domain&gt;
    &lt;/bimi&gt;
      </sourcecode>

      <section numbered="true" toc="default">
        <name>&lt;domain&gt; Element</name>
        <t>
          Within the &lt;bimi&gt; element is one or more &lt;domain&gt; elements, each element of which MUST include the following attributes:
        </t>
        <dl>
          <dt>"aligned" (REQUIRED):</dt>
            <dd>The Aligned Domain.</dd>
          <dt>"assertion" (REQUIRED):</dt>
            <dd>The Assertion Domain.</dd>
        </dl>
        <t>
          Each &lt;domain&gt; element MUST represent a unique "aligned":"assertion" tuple within the enclosing &lt;bimi&gt; element.  All BIMI assertion records related to this domain tuple MUST be reported within this element.
        </t>
      </section>

      <section numbered="true" toc="default">
        <name>&lt;assertion&gt; Element</name>
        <t>
          The content of each &lt;domain&gt; element MUST include one or more &lt;assertion&gt; elements, each element of which MUST include the following attributes:
        </t>
        <dl>
          <dt>"selector" (REQUIRED):</dt>
            <dd>The Selector Name defined by the relevant email header, or set to "default" if no Selector Name was specifically defined.</dd>
          <dt>"l" (REQUIRED):</dt>
              <dd>The field extracted from the "l=" field within the BIMI assertion record.  If blank, the attribute label MUST be present, and the attribute MUST be set to "unpublished".</dd>
          <dt>"a" (REQUIRED):</dt>
            <dd>The field extracted from the "a=" field within the BIMI assertion record.  If blank, the attribute label MUST be present, and the attribute MUST be left blank (i.e. a="")</dd>
        </dl>
        <t>
          Each &lt;assertion&gt; element MUST represent a unique "selector":"l":"a" tuple within the enclosing &lt;domain&gt; element.  All errors related to this assertion tuple MUST be reported within this element.
        </t>
        <t>
          In the case in which a non-default Selector Name is provided, but the evaluation of the referenced selector results in an error, and evaluation of the default selector also results in an error, both the initial error and the default selector errors are reported within separate &lt;assertion&gt; elements.  One &lt;assertion&gt; element will include the "selector" attribute set to "default"', and the other will include the "selector" attribute set to the Selector Name identified in the email.
        </t>

      </section>

      <section numbered="true" toc="default">
        <name>&lt;evidence&gt; Element</name>

        <t>
          The &lt;evidence&gt; element is OPTIONAL and is only REQUIRED if the attributes as described below are included in the Report.  The &lt;evidence&gt; element is a null element that contains the following attributes:
        </t>

        <dl>
          <dt>"evidence-date" (OPTIONAL):</dt>
            <dd>A <xref target="RFC5322" format="default"/>-formatted date expression indicating when the evidence document was evaluated.  Evaluators MAY periodically evaluate Evidence Documents and locally cache the results for some period of time before re-evaluating them.</dd>
          <dt>"evidence-issuer" (OPTIONAL):</dt>
              <dd>The issuer of the Evidence Document retrieved and evaluated.</dd>
          <dt>"evidence-type" (OPTIONAL):</dt>
              <dd>The type of Evidence Document retrieved and evaluated.</dd>
          <dt>"evidence-url" (OPTIONAL; REQUIRED if the "a=" field is populated):</dt>
              <dd>The URL defined by the "a=" field within the BIMI record pointing to the authority Evidence Document.  If the field exists and is populated, but evaluation of the field results in errors during parsing or retrieval, the attribute is set to the value of the "a=" field, and the appropriate set of "evidence-error-" elements (defined below) are populated).</dd>
        </dl>
      </section>

    <section numbered="true" toc="default">
      <name>&lt;errors&gt; Element</name>
      <t>
        All errors to be reported MUST be included within the &lt;errors&gt; element which is within the &lt;assertion&gt; element.  Within the &lt;errors&gt; element are one or more elements containing the error data aggregated as described below. If there are no errors within a reporting period, the &lt;errors&gt; element MUST NOT exist in the Report.
      </t>

      <t>
        The count of non-zero errors being reported MUST be grouped by the logical tuple:
      </t>
      <dl><dt />
        <dd>ERROR-NAME:class:type</dd>
      </dl>
      <t>
        Where ERROR-NAME is an element named one of:
      </t>
      <ul spacing="compact">
        <li>“assertion”</li>
        <li>“evidence”</li>
        <li>“indicator”</li>
        <li>“undefined”</li>
      </ul>
      <t>
        The "class" for each error tuple is set to one of:
      </t>
      <dl>
        <dt>"temp"</dt>
          <dd>
            If the Evaluator determines that the error is temporary (e.g. a recoverable error such as a DNS query timeout when trying to retrieve the resource), the Evaluator MAY rely on a previously cached result and SHOULD set the class of the error to “temp”.  Doing so indicates the Evaluator will try again in the future for updated results.  For example, a temporary error may cause an Evaluator to stop processing BIMI for a single message, but try again for the next message it receives from the domain.
          </dd>
        <dt>"perm"</dt>
          <dd>
            If the Evaluator determines that the error is permanent (e.g. the resource is successfully retrieved, but is non-conformant), the Evaluator SHOULD set the class to “perm”.  Doing so indicates the Evaluator MAY stop evaluating BIMI for all messages from the specified domain until additional information becomes available.
          </dd>
      </dl>
      <t>
        The "type" component of the tuple is defined for the specific error elements in their descriptions below.
      </t>
      <t>
        There MUST only be one instance of a specific error tuple per Report, each of which aggregates the count of errors associated with that tuple during the report period.  There MAY be multiple error elements with the same name, but the tuples MUST be differentiated by distinct element attributes.
      </t>
      <t>
        For example, the &lt;errors&gt; element may contain two &lt;indicator&gt; error elements. One &lt;indicator&gt; error element may contain a "class=temp" attribute, while the other may contain a "class=perm" attribute.  Each of which aggregates the count of the specified class of errors.
      </t>

      <section numbered="true" toc="default">
        <name>&lt;assertion&gt; Errors Element</name>
        <t>
          The &lt;assertion&gt; errors element is OPTIONAL and is only REQUIRED if there are assertion errors to report. The &lt;assertion&gt; error element encloses a positive natural number indicating the count of assertion errors encountered during the reporting period for the set of element attributes indicating the class, type, and (optionally) description:
        </t>
        <dl>
          <dt>"class" Attribute:</dt>
            <dd>
              Set to either “temp” or “perm” depending upon whether the Evaluator is treating the errors as temporary or permanent.
            </dd>
          <dt>"type" Attribute:</dt>
            <dd>
              Set to one of:
            </dd>
        </dl>
        <ul>
          <li>“retrieval” if the Evaluator was unable to successfully retrieve the assertion record (e.g. receiving a DNS RCODE:3 when trying to retrieve the selector)</li>
          <li>“parsing” if one or more fields in the BIMI assertion record fails to parse (e.g. the value in the “l=” or “a=” fields contain unexpected characters)</li>
        </ul>
        <dl>
          <dt>"description" Attribute (OPTIONAL):</dt>
            <dd>
              Free-form text provided by the Evaluator indicating any specific details they believe useful to understanding the error(s).  The element SHOULD contain no more than 256 characters.
            </dd>
        </dl>
      </section>

      <section numbered="true" toc="default">
        <name>&lt;evidence&gt; Errors Element</name>
        <t>
          The &lt;evidence&gt; errors element is OPTIONAL and is only REQUIRED if there are evidence errors to report. The &lt;evidence&gt; error element encloses a positive natural number indicating the count of evidence errors encountered during the reporting period for the set of element attributes indicating the class, type, and (optionally) description:
        </t>
          <dl>
            <dt>"class" Attribute:</dt>
              <dd>
                Set to either “temp” or “perm” depending upon whether the Evaluator is treating the errors as temporary or permanent.
              </dd>
            <dt>"type" Attribute:</dt>
              <dd>
                Set to one of:
              </dd>
          </dl>
          <ul>
            <li>"retrieval" if the Evaluator was unable to successfully retrieve the authority evidence document (e.g. receiving a DNS RCODE:3 when trying to retrieve the document)</li>
            <li>"parsing" if the authority evidence document in the BIMI record fails to parse (e.g. the URI identified in the BIMI record contains invalid characters)</li>
            <li>"validation" if the retrieved authority evidence document fails to validate (e.g. the retrieved X.509 <xref target="RFC5280" format="default"/> certificate fails to validate)</li>
            <li>"expired" if the authority evidence document has expired (e.g. the retrieved X.509 certificate expiration date has passed at the time of validation)</li>
            <li>"revoked" if the authority evidence document has been reported as being revoked (e.g. the X.509 certificate being evaluated, or any in its progenitor chain, have been reported to the issuer’s Certificate Revocation List)</li>
            <li>"policy" if the Evaluator determines that, even if the authority evidence document is technically validated, they have additional information that may impact the evaluation (e.g. the Evaluator has a local policy that doesn't recognize the issuing authority, the evidence type is deemed insufficient, etc.)</li>
          </ul>
          <dl>
            <dt>"description" Attribute:</dt>
              <dd>
                Free-form text provided by the Evaluator indicating any specific details they believe useful to understanding the error(s).  The element SHOULD contain no more than 256 characters.
              </dd>
          </dl>
      </section>

      <section numbered="true" toc="default">
        <name>&lt;indicator&gt; Errors Element</name>
        <t>
          The &lt;indicator&gt; errors element is OPTIONAL and is only REQUIRED if there are indicator errors to report. The &lt;indicator&gt; errors element encloses a positive natural number indicating the count of indicator errors encountered during the reporting period for the set of element attributes indicating the class, type, and (optionally) description:
        </t>
        <dl>
          <dt>"class" Attribute:</dt>
            <dd>Set to either “temp” or “perm” depending upon whether the Evaluator is treating the errors as temporary or permanent.</dd>
          <dt>"type" Attribute:</dt>
            <dd>
              Set to one of:
            </dd>
        </dl>
        <ul>
          <li>"retrieval" if the Evaluator was unable to successfully retrieve the indicator (e.g. receiving a DNS RCODE:3 when trying to retrieve the indicator)</li>
          <li>"parsing" if the indicator in the BIMI record fails to parse (e.g. the indicator cannot be extracted from the presented evidence document)</li>
          <li>"validation" if the Evaluator cannot validate that the indicator can be used in the context of BIMI (e.g. the SVG document referenced by the "l=" URI isn't a valid SVG Tiny Portable Secure (SVG P/S) <xref target="I-D.svg-tiny-ps-abrotman" format="default"/> profile)</li>
        </ul>
        <dl>
          <dt>"description" (OPTIONAL):</dt>
            <dd>Free-form text provided by the Evaluator indicating any specific details they believe useful to understanding the error(s).  The element SHOULD contain no more than 256 characters</dd>
        </dl>
      </section>

      <section numbered="true" toc="default">
        <name>&lt;undefined&gt; Errors Element</name>
        <t>
          The &lt;undefined&gt; errors element is OPTIONAL and SHOULD be used to report errors that are not covered by other error elements. The &lt;undefined&gt; errors element encloses a positive natural number indicating the count of undefined errors encountered during the reporting period for the set of element attributes indicating the class and (optionally) description:
        </t>
        <dl>
          <dt>"class" Attribute:</dt>
            <dd>Set to either “temp” or “perm” depending upon whether the Evaluator is treating the error as temporary or permanent.</dd>
          <dt>"description" Attribute:</dt>
            <dd>Free-form text provided by the Evaluator indicating any specific details they believe useful to understanding the error(s).  The element SHOULD contain no more than 256 characters.</dd>
        </dl>
      </section>

    </section>

    </section>

    <section anchor="Acknowledgements" numbered="true" toc="default">
      <name>Acknowledgements</name>
      <t>
        This document was informed by discussions with and/or contributions from Arne Allisat, Kurt Andersen, Tom Bartel, Marcel Becker, Seth Blank, Marc Bradshaw, Alex Brotman, Wei Chuang, Todd Herr, Neil Kumaran, Hansen Lee, Thede Loder, Maddie McCaffrey, Alex Rubin, Len Shneyder, and Matthew Vernhout.
      </t>
    </section>
    <section anchor="IANA" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>
        This section will be filled out in more detail when the draft moves toward completion.
      </t>
    </section>
    <section anchor="Security" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
        Security considerations related to this document are inherited from those mentioned in <xref target="RFC7489" format="default"/> and <xref target="I-D.blank-ietf-bimi" format="default"/>.  This section will be filled out in more detail when the draft moves toward completion.
      </t>
    </section>
    <section anchor="Discussions" numbered="true" toc="default">
     <name>On-going Discussions</name>
     <ul spacing="compact">
       <li><t>Can/Should the BIMI report data include information about MUA use of BIMI images?</t>
         <ul spacing="compact">
           <li>Concerns about web bugs?</li>
           <li>What information would be provided?</li>
           <li>How is data aggregated?</li>
        </ul>
       </li>
     </ul>
   </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7489.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5598.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5322.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5280.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-blank-ietf-bimi-02.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1983.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-svg-tiny-ps-abrotman-01.xml"/>
      </references>
    </references>

    <section anchor="Appendix" numbered="true" toc="default">
      <name>Example RUA Report with BIMI</name>
      <t>
        The following is an example DMARC RUA report with BIMI error elements.
      </t>
      <sourcecode>
        &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
        &lt;feedback&gt;
          &lt;report_metadata&gt;
            &lt;org_name&gt;reporter.tld&lt;/org_name&gt;
            &lt;email&gt;info@reporter.tld&lt;/email&gt;
            &lt;report_id&gt;uniqueidentifier&lt;/report_id&gt;
            &lt;date_range&gt;
              &lt;begin&gt;1609459200M&lt;/begin&gt;
              &lt;end&gt;1609545599&lt;/end&gt;
            &lt;/date_range&gt;
          &lt;/report_metadata&gt;
          &lt;policy_published&gt;
            &lt;domain&gt;sender.tld&lt;/domain&gt;
            &lt;adkim&gt;r&lt;/adkim&gt;
            &lt;aspf&gt;r&lt;/aspf&gt;
            &lt;p&gt;reject&lt;/p&gt;
            &lt;sp&gt;reject&lt;/sp&gt;?
            &lt;pct&gt;100&lt;/pct&gt;
          &lt;/policy_published&gt;
          &lt;record&gt;
            &lt;row&gt;
              &lt;source_ip&gt;192.0.2.1&lt;/source_ip&gt;
              &lt;count&gt;10&lt;/count&gt;
              &lt;policy_evaluated&gt;
                &lt;disposition&gt;none&lt;/disposition&gt;
                &lt;dkim&gt;pass&lt;/dkim&gt;
                &lt;spf&gt;pass&lt;/spf&gt;
              &lt;/policy_evaluated&gt;
            &lt;/row&gt;
            &lt;identifiers&gt;
              &lt;header_from&gt;sender.tld&lt;/header_from&gt;
            &lt;/identifiers&gt;
            &lt;auth_results&gt;
              &lt;dkim&gt;
                &lt;domain&gt;sender.tld&lt;/domain&gt;
                &lt;result&gt;pass&lt;/result&gt;
                &lt;selector&gt;selector01&lt;/selector&gt;
              &lt;/dkim&gt;
              &lt;spf&gt;
                &lt;domain&gt;sender.tld&lt;/domain&gt;
                &lt;result&gt;pass&lt;/result&gt;
              &lt;/spf&gt;
            &lt;/auth_results&gt;
          &lt;/record&gt;
          &lt;bimi&gt;
            &lt;domain aligned="sender.tld" assertion="sender.tld"&gt;
              &lt;assertion selector="default" a=""
                l="https://www.sender.tld/images/logos/bimi.svg"&gt;
                &lt;evidence /&gt;
                &lt;errors&gt;
                  &lt;indicator class="temp" type="retrieval"
                    description="DNS RCODE:3"&gt;1&lt;/indicator&gt;
                &lt;/errors&gt;
              &lt;/assertion&gt;
            &lt;/domain&gt;
          &lt;/bimi&gt;
        &lt;/feedback&gt;
      </sourcecode>
    </section>

  </back>
</rfc>
