#17: implement DANE TLSA, MTA-STS policy resolution, ARC sealing and mail authentication
This commit is contained in:
1 parent
df8b809683
commit
bd0af98076
22 files changed
+3296
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package port
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"lambdamail/protocols/internal/domain/entity"
|
||||
)
|
||||
|
||||
// DnsVerifier re-reads published records through resolvers outside our
|
||||
// control. PLAN.md section 7.5 requires this step because the provider API
|
||||
// confirming a write only proves the API accepted it, not that the world can
|
||||
// see it.
|
||||
type DnsVerifier interface {
|
||||
// VerifyRecord reports whether the record is visible with the expected
|
||||
// value. A lookup failure is reported as not-visible with the reason,
|
||||
// never as a hard error, so one unreachable resolver cannot fail a sync.
|
||||
VerifyRecord(ctx context.Context, record entity.DnsRecord) (visible bool, detail string)
|
||||
}
|
||||
Reference in new issue
Block a user