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

Function init

internal/check/dns/dns.go:158–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 return module.CheckResult{}
157}
158func init() {
159 check.RegisterStatelessCheck("require_matching_rdns", modconfig.FailAction{Quarantine: true},
160 requireMatchingRDNS, nil, nil, nil)
161 check.RegisterStatelessCheck("require_mx_record", modconfig.FailAction{Quarantine: true},
162 nil, requireMXRecord, nil, nil)
163}

Callers

nothing calls this directly

Calls 1

RegisterStatelessCheckFunction · 0.92

Tested by

no test coverage detected