Package: dmarc-cat
Version: 0.14.0-1+b5
Severity: important
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>[email protected]</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 — [email protected]
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.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/3 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dmarc-cat depends on:
ii libc6 2.31-17
ii libgpgme11 1.16.0-1
dmarc-cat recommends no packages.
dmarc-cat suggests no packages.
-- no debconf information