#994491 dmarc-cat: hostnames are mixed (wrong result)

Package:
dmarc-cat
Source:
dmarc-cat
Description:
decode DMARC reports
Submitter:
Noury
Date:
2021-09-16 17:03:03 UTC
Severity:
important
#994491#5
Date:
2021-09-16 17:00:38 UTC
From:
To:
Result is wrong.
for the xml following file
--------- begin ----------
<?xml version="1.0" encoding="UTF-8" ?>
<feedback>
  <report_metadata>
    <org_name>google.com</org_name>
    <email>noreply-dmarc-support@google.com</email>
    <extra_contact_info>https://support.google.com/a/answer/2466580</extra_contact_info>
    <report_id>507151472244287070</report_id>
    <date_range>
      <begin>1631664000</begin>
      <end>1631750399</end>
    </date_range>
  </report_metadata>
  <policy_published>
    <domain>dagami.org</domain>
    <adkim>r</adkim>
    <aspf>r</aspf>
    <p>none</p>
    <sp>none</sp>
    <pct>100</pct>
  </policy_published>
  <record>
    <row>
      <source_ip>23.95.164.22</source_ip>
      <count>1</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>pass</dkim>
        <spf>fail</spf>
      </policy_evaluated>
    </row>
    <identifiers>
      <header_from>dagami.org</header_from>
    </identifiers>
    <auth_results>
      <dkim>
        <domain>dagami.org</domain>
        <result>pass</result>
        <selector>smtp.dagami.org</selector>
      </dkim>
      <spf>
        <domain>dagami.org</domain>
        <result>fail</result>
      </spf>
    </auth_results>
  </record>
  <record>
    <row>
      <source_ip>23.94.105.214</source_ip>
      <count>18</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>pass</dkim>
        <spf>pass</spf>
      </policy_evaluated>
    </row>
    <identifiers>
      <header_from>dagami.org</header_from>
    </identifiers>
    <auth_results>
      <dkim>
        <domain>dagami.org</domain>
        <result>pass</result>
        <selector>smtp.dagami.org</selector>
      </dkim>
      <spf>
        <domain>dagami.org</domain>
        <result>pass</result>
      </spf>
    </auth_results>
  </record>
</feedback>
--------- end ----------

Displayed result is:
--------- begin ----------
dmarc-cat 0.14.0,parallel/j3 by Ollivier Robert

Reporting by: google.com — noreply-dmarc-support@google.com
From 2021-09-15 02:00:00 +0200 CEST to 2021-09-16 01:59:59 +0200 CEST

Domain: dagami.org
Policy: p=none; dkim=r; spf=r

Reports(2):
IP                  Count   From       RFrom      RDKIM   RSPF
ny.dagami.org.      18      dagami.org dagami.org pass    pass
colibri.dagami.org. 1       dagami.org dagami.org pass    fail
--------- end ----------

It should be 18 for colibri.dagami.org
and 1 for ny.dagami.org
It's the contrary.