remove needless fmt.Sprintf

by staticcheck
This commit is contained in:
Mechiel Lukkien 2023-08-23 16:22:59 +02:00
parent f029db3f47
commit 61a5eb61a4
No known key found for this signature in database

View file

@ -988,7 +988,7 @@ func checkDomain(ctx context.Context, resolver dns.Resolver, dialer *net.Dialer,
r.TLSRPT.Record = &TLSRPTRecord{*record} r.TLSRPT.Record = &TLSRPTRecord{*record}
} }
instr := fmt.Sprintf(`TLSRPT is an opt-in mechanism to request feedback about TLS connectivity from remote SMTP servers when they connect to us. It allows detecting delivery problems and unwanted downgrades to plaintext SMTP connections. With TLSRPT you configure an email address to which reports should be sent. Remote SMTP servers will send a report once a day with the number of successful connections, and the number of failed connections including details that should help debugging/resolving any issues.`) instr := `TLSRPT is an opt-in mechanism to request feedback about TLS connectivity from remote SMTP servers when they connect to us. It allows detecting delivery problems and unwanted downgrades to plaintext SMTP connections. With TLSRPT you configure an email address to which reports should be sent. Remote SMTP servers will send a report once a day with the number of successful connections, and the number of failed connections including details that should help debugging/resolving any issues.`
if domConf.TLSRPT != nil { if domConf.TLSRPT != nil {
// TLSRPT does not require validation of reporting addresses outside the domain. // TLSRPT does not require validation of reporting addresses outside the domain.
// ../rfc/8460:1463 // ../rfc/8460:1463