Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
vodolaz095 committed Aug 23, 2023
1 parent 1820bba commit cb37834
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugins/dovecot/dovecot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestDovecot_Exists(t *testing.T) {
})
if err != nil {
if err.Error() != "521 i have no idea about recipient you want to deliver message to" {
t.Errorf("%s : wrong error while checking non existant mailbox", err)
t.Errorf("%s : wrong error while checking non existent mailbox", err)
}
} else {
t.Errorf("error is expected")
Expand Down
12 changes: 6 additions & 6 deletions plugins/rspamd/rspamd.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,22 @@ type AddHeader struct {
Order int
}

// ActionNoop is thing rspamd recomends to do with this message
// ActionNoop is thing rspamd recommends to do with this message
const ActionNoop = "no action"

// ActionGreylist is thing rspamd recomends to do with this message
// ActionGreylist is thing rspamd recommends to do with this message
const ActionGreylist = "greylist"

// ActionAddHeader is thing rspamd recomends to do with this message
// ActionAddHeader is thing rspamd recommends to do with this message
const ActionAddHeader = "add header"

// ActionRewriteSubject is thing rspamd recomends to do with this message
// ActionRewriteSubject is thing rspamd recommends to do with this message
const ActionRewriteSubject = "rewrite subject"

// ActionSoftReject is thing rspamd recomends to do with this message
// ActionSoftReject is thing rspamd recommends to do with this message
const ActionSoftReject = "soft reject"

// ActionHardReject is thing rspamd recomends to do with this message
// ActionHardReject is thing rspamd recommends to do with this message
const ActionHardReject = "reject"

const rspamdComplain = "Too many letters, i cannot read them all now. Please, resend your message later"
Expand Down
2 changes: 1 addition & 1 deletion plugins/sender/sender_resolvable.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func IsResolvable(opts IsResolvableOptions) msmtpd.SenderChecker {
continue
}
if ip.IsLinkLocalUnicast() {
transaction.LogDebug("%s of MX of %s is link local unicast - wierd",
transaction.LogDebug("%s of MX of %s is link local unicast - weird",
ip.String(), domain,
)
continue
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type Server struct {
Resolver *net.Resolver

// SkipResolvingPTR disables resolving reverse/point DNS records of connecting IP address,
// it can be usefull in various DNS checks, but it reduces perfomance due to quite
// it can be useful in various DNS checks, but it reduces performance due to quite
// expensive and slow DNS calls. By default resolving PTR records is enabled
SkipResolvingPTR bool

Expand Down

0 comments on commit cb37834

Please sign in to comment.