net-mail/tlsrpt-reporter
Collector, fetcher and report generator for SMTP TLS Reporting (RFC 8460)
ChangeLog
commit ab8ad2f6e8e0d69b3122553a70ca1031ecf8186c
Author: Nic Boet <nic@boet.cc>
Date: Mon Nov 2 19:36:55 2026 -0600
net-mail/tlsrpt-reporter: fork 0.6.0-r1, OpenRC and Postfix socket
::gentoo ships systemd units only. Add OpenRC scripts for collectd and
reportd (supervise-daemon; collectd orders itself before mta and waits
for its socket, reportd refuses to start on the EXAMPLE.COM placeholders).
USE=postfix (default) puts the socket where Postfix's TLSRPT_README
suggests, /var/spool/postfix/run/tlsrpt/tlsrpt.sock, in a setgid
tlsrpt-reporter:postfix directory with socketmode 0660: Postfix can
write to it, other local users cannot. main.cf then needs only
smtp_tlsrpt_enable and smtp_tlsrpt_socket_name=run/tlsrpt/tlsrpt.sock.
Fixes over ::gentoo: fetchers now passes --config_file (without it the
fetcher finds no storage and reports come out empty; postinst warns on
a protected old config); the units no longer share RuntimeDirectory=,
which deleted collectd's socket dir when reportd stopped; python sqlite
instead of dev-db/sqlite; logrotate. Patch an upstream crash: one
malformed datagram stopped collectd (dump path "" is ".").
Tested end to end in a stage3 container under OpenRC: Postfix TLSRPT
failure event -> collectd -> fetcher -> reportd -> RFC 8460 report
delivered by Postfix. Tests pass on python 3.12-3.14.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author: Nic Boet <nic@boet.cc>
Date: Mon Nov 2 19:36:55 2026 -0600
net-mail/tlsrpt-reporter: fork 0.6.0-r1, OpenRC and Postfix socket
::gentoo ships systemd units only. Add OpenRC scripts for collectd and
reportd (supervise-daemon; collectd orders itself before mta and waits
for its socket, reportd refuses to start on the EXAMPLE.COM placeholders).
USE=postfix (default) puts the socket where Postfix's TLSRPT_README
suggests, /var/spool/postfix/run/tlsrpt/tlsrpt.sock, in a setgid
tlsrpt-reporter:postfix directory with socketmode 0660: Postfix can
write to it, other local users cannot. main.cf then needs only
smtp_tlsrpt_enable and smtp_tlsrpt_socket_name=run/tlsrpt/tlsrpt.sock.
Fixes over ::gentoo: fetchers now passes --config_file (without it the
fetcher finds no storage and reports come out empty; postinst warns on
a protected old config); the units no longer share RuntimeDirectory=,
which deleted collectd's socket dir when reportd stopped; python sqlite
instead of dev-db/sqlite; logrotate. Patch an upstream crash: one
malformed datagram stopped collectd (dump path "" is ".").
Tested end to end in a stage3 container under OpenRC: Postfix TLSRPT
failure event -> collectd -> fetcher -> reportd -> RFC 8460 report
delivered by Postfix. Tests pass on python 3.12-3.14.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


View
Download
Browse