mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
remove needless fmt.Sprintf
by staticcheck
This commit is contained in:
parent
f029db3f47
commit
61a5eb61a4
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ func checkDomain(ctx context.Context, resolver dns.Resolver, dialer *net.Dialer,
|
|||
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 {
|
||||
// TLSRPT does not require validation of reporting addresses outside the domain.
|
||||
// ../rfc/8460:1463
|
||||
|
|
Loading…
Reference in a new issue