dmarc

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "v=DMARC1"

Variables

View Source
var (
	ErrUnexpectedKey   = errors.New("unexpected key")
	ErrMultipleSameKey = errors.New("multiple keys with the same name")
)
View Source
var DmarcGrammar *abnf.Grammar

Functions

This section is empty.

Types

type Record

type Record struct {
	Domain string `json:"domain,omitzero"`
	Raw    string `json:"raw,omitzero"`
	P      string `json:"p,omitzero"`
	Sp     string `json:"sp,omitzero"`
	Rua    string `json:"rua,omitzero"`
	Ruf    string `json:"ruf,omitzero"`
	Adkim  string `json:"adkim,omitzero"`
	Aspf   string `json:"aspf,omitzero"`
	Ri     string `json:"ri,omitzero"`
	Fo     string `json:"fo,omitzero"`
	Rf     string `json:"rf,omitzero"`
	Pct    string `json:"pct,omitzero"`
}

func ParseDmarcRecord

func ParseDmarcRecord(data []byte) (*Record, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL