kumomta
kumomta copied to clipboard
TLSRPT Report Generation
TLSRPT: https://datatracker.ietf.org/doc/html/rfc8460
- Reports sent via SMTP MUST contain a valid DomainKeys Identified Mail (DKIM) [RFC6376] signature by the reporting domain.
- The DKIM TXT record SHOULD contain the appropriate service type declaration, "s=tlsrpt". If not present, the receiving system MAY ignore reports lacking that service type.
This implies that we need special configuration for generating, signing and sending these reports
Reports need to be batched daily, but with a randomized delivery time; the randomization is prevent everyone sending all their reports at eg: midnight-UTC to the same place.
We'll need infrastructure to count problems per destination domain, and a nightly generation run to format the report, sign it and send it.
We'll also need configuration to specify the organization and dkim signing information.