mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
fix typo's
some through goreportcard.com
This commit is contained in:
parent
9792158324
commit
52e7054c49
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
2
main.go
2
main.go
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue