fix typo's

some through goreportcard.com
This commit is contained in:
Mechiel Lukkien 2023-02-06 11:00:11 +01:00
parent 9792158324
commit 52e7054c49
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,7 @@ func Verify(ctx context.Context, resolver dns.Resolver, from dns.Domain, dkimRes
}
// Below we can do a bunch of publicsuffix lookups. Cache the results, mostly to
// reduce log polution.
// reduce log pollution.
pubsuffixes := map[dns.Domain]dns.Domain{}
pubsuffix := func(name dns.Domain) dns.Domain {
if r, ok := pubsuffixes[name]; ok {

View file

@ -166,7 +166,7 @@ type cmd struct {
// Set by invoked command or Parse.
unlisted bool // If set, command is not listed until at least some words are matched from command.
params string // Arguments to command. Mutliple lines possible.
params string // Arguments to command. Multiple lines possible.
help string // Additional explanation. First line is synopsis, the rest is only printed for an explicit help/usage for that command.
args []string
}

View file

@ -1240,7 +1240,7 @@ func (c *conn) cmdRcpt(p *parser) {
receivedSPF, _, _, err := spf.Verify(spfctx, c.resolver, spfArgs)
spfcancel()
if err != nil {
c.log.Errorx("spf verify for multiple reciepients", err)
c.log.Errorx("spf verify for multiple recipients", err)
}
pass = receivedSPF.Identity == spf.ReceivedMailFrom && receivedSPF.Result == spf.StatusPass
}