MCPcopy Create free account
hub / github.com/foxcpp/maddy / CheckRcpt

Method CheckRcpt

framework/module/check.go:76–76  ·  view source on GitHub ↗

CheckRcpt is executed for each recipient when its address is received from the client (e.g. on the RCPT TO command).

(ctx context.Context, rcptTo string)

Source from the content-addressed store, hash-verified

74 // CheckRcpt is executed for each recipient when its address is received
75 // from the client (e.g. on the RCPT TO command).
76 CheckRcpt(ctx context.Context, rcptTo string) CheckResult
77
78 // CheckBody is executed once after the message body is received and
79 // buffered in memory or on disk.

Callers 9

checkStatesMethod · 0.65
checkRcptMethod · 0.65
TestDkimVerify_NoSigFunction · 0.65
TestDkimVerify_ValidSigFunction · 0.65
TestDkimVerify_FailOpenFunction · 0.65

Implementers 10

checkStateinternal/testutils/check.go
stateinternal/check/skeleton.go
statelessCheckStateinternal/check/stateless_check.go
stateinternal/check/spf/spf.go
stateinternal/check/dnsbl/dnsbl.go
stateinternal/check/rspamd/rspamd.go
stateinternal/check/command/command.go
dkimCheckStateinternal/check/dkim/dkim.go
stateinternal/check/milter/milter.go
stateinternal/check/authorize_sender/author

Calls

no outgoing calls

Tested by 7

TestDkimVerify_NoSigFunction · 0.52
TestDkimVerify_ValidSigFunction · 0.52
TestDkimVerify_FailOpenFunction · 0.52