From dcee0345efb3309fb4428f880a67dae7e3719e30 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sat, 11 Nov 2023 19:14:19 +0100 Subject: [PATCH] nits, removing a old todo and a stray newline --- tlsrptsend/send.go | 3 +-- webmail/api.go | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tlsrptsend/send.go b/tlsrptsend/send.go index 9bd2280..d6872bb 100644 --- a/tlsrptsend/send.go +++ b/tlsrptsend/send.go @@ -414,8 +414,7 @@ func sendReportDomain(ctx context.Context, log *mlog.Log, resolver dns.Resolver, subject := fmt.Sprintf("Report Domain: %s Submitter: %s Report-ID: <%s>", polDom.ASCII, fromDom, report.ReportID) // Human-readable part for convenience. ../rfc/8460:917 - text := fmt.Sprintf(` -Attached is a TLS report with a summary of connection successes and failures + text := fmt.Sprintf(`Attached is a TLS report with a summary of connection successes and failures during attempts to securely deliver messages to your mail server, including details about errors encountered. You are receiving this message because your address is specified in the "rua" field of the TLSRPT record for your diff --git a/webmail/api.go b/webmail/api.go index a162fa4..3850cf7 100644 --- a/webmail/api.go +++ b/webmail/api.go @@ -140,7 +140,6 @@ type Attachment struct { // File name based on "name" attribute of "Content-Type", or the "filename" // attribute of "Content-Disposition". - // todo: decode non-ascii character sets Filename string Part message.Part