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

Struct Check

internal/check/authorize_sender/authorize_sender.go:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40const modName = "check.authorize_sender"
41
42type Check struct {
43 instName string
44 log *log.Logger
45
46 checkHeader bool
47 emailPrepare module.Table
48 userToEmail module.Table
49
50 unauthAction modconfig.FailAction
51 noMatchAction modconfig.FailAction
52 errAction modconfig.FailAction
53
54 fromNorm authz.NormalizeFunc
55 authNorm authz.NormalizeFunc
56}
57
58func New(c *container.C, modName, instName string) (module.Module, error) {
59 return &Check{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected