Skip to content

Add timezone to date string in aggregate report email body (openSUSE ticket183)#388

Merged
thegushi merged 2 commits into
trusteddomainproject:developfrom
stoecker:ticket183.patch
May 29, 2026
Merged

Add timezone to date string in aggregate report email body (openSUSE ticket183)#388
thegushi merged 2 commits into
trusteddomainproject:developfrom
stoecker:ticket183.patch

Conversation

@stoecker
Copy link
Copy Markdown

Ticket 183 - add timezone to date reported in DMARC reports written by Juri Haberland
status: optional - enhancement
This patch adds the timezone to the date shown in DMARC reports and reformats the output to look like RFC 2822 format. See #159

@thegushi thegushi changed the title Patches used in openSUSE: ticket183.patch Add timezone to date string in aggregate report email body (openSUSE ticket183) May 29, 2026
@thegushi thegushi changed the base branch from master to develop May 29, 2026 19:58
@thegushi thegushi closed this May 29, 2026
@thegushi thegushi reopened this May 29, 2026
thegushi and others added 2 commits May 29, 2026 13:38
- Add attribution to policy_published.domain fix (trusteddomainproject#270): independently
  patched by Eneas U. de Queiroz for openSUSE, submitted by Dirk Stöcker
- Add attribution to opendmarc_tld_read_file memory leak fix (trusteddomainproject#347):
  independently patched by Juri Haberland for openSUSE, submitted by
  Dirk Stöcker
- Add attribution to domain case normalization fix (trusteddomainproject#351): independently
  patched by Dirk Stöcker for openSUSE
- Document failure report Subject line fix (trusteddomainproject#391): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document failure report hostname in body (trusteddomainproject#389): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document IgnoreAuthenticatedClients logging (trusteddomainproject#387): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document --skipdomains option (trusteddomainproject#383): written by Dirk Stöcker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ticket 183 - add timezone to date reported in DMARC reports
written by Juri Haberland
status: optional - enhancement
This patch adds the timezone to the date shown in DMARC reports and reformats the output to look like RFC 2822 format.
See trusteddomainproject#159
@thegushi thegushi merged commit 3a43cc2 into trusteddomainproject:develop May 29, 2026
1 check passed
thegushi added a commit to thegushi/OpenDMARC that referenced this pull request May 29, 2026
thegushi added a commit that referenced this pull request May 30, 2026
…ent (#393)

* docs: update CHANGES with attribution for merged and closed PRs

- Add attribution to policy_published.domain fix (#270): independently
  patched by Eneas U. de Queiroz for openSUSE, submitted by Dirk Stöcker
- Add attribution to opendmarc_tld_read_file memory leak fix (#347):
  independently patched by Juri Haberland for openSUSE, submitted by
  Dirk Stöcker
- Add attribution to domain case normalization fix (#351): independently
  patched by Dirk Stöcker for openSUSE
- Document failure report Subject line fix (#391): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document failure report hostname in body (#389): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document IgnoreAuthenticatedClients logging (#387): written by Juri
  Haberland, submitted by Dirk Stöcker
- Document --skipdomains option (#383): written by Dirk Stöcker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: add CHANGES entry for PR #388 (RFC 2822 date format in report body)

* docs: add CHANGES entries for PRs #390 (UTC timezone, migration script)

* docs: add CHANGES entry for PR #380 (Content-Description MIME headers)

* ci: add libnet-dns-perl; docs: add CHANGES entry for PR #392

* reports: rewrite opendmarc-importstats as a Perl script

Converts the 25-line shell script to a proper Perl .in template,
consistent with every other script in reports/.

- Reads HistoryFile from opendmarc.conf using a real parser (no
  grep/sed), so users who configure a non-default path get correct
  behaviour automatically
- --history-file=path overrides the config for command-line flexibility
- --conf=file selects an alternate opendmarc.conf
- Falls back to /var/run/opendmarc.dat when HistoryFile is not set
- Uses open(pipe) instead of shell redirection to avoid injection risk
- --verbose and --version consistent with other reporting tools

Closes #358.

* docs: add CHANGES entry for importstats rewrite; ci: add to syntax check

* feat: add IgnoreMailTo option to suppress history recording by recipient

Adds a comma-separated IgnoreMailTo config option analogous to
IgnoreMailFrom.  Messages addressed to any listed address are not
written to the history file and generate no aggregate reports.  The
primary use case is loop prevention: a domain whose rua=/ruf= address
also receives mail through the filter can suppress report traffic from
being treated as reportable.

Original patch by Dirk Stöcker (openSUSE ticket208 / PR #381).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants