dmarc
DMARC (RFC7489) implementation
Features
Load the policy for a domain
let policy: = load_policy.await?;
The load_policy arguments are the following:
Apply a policy
let dkim_result: DKIMResult = ...;
let spf_result: SPFResult = ...;
let ctx = PolicyContext ;
let res: DMARCResult = policy.apply;
println!;
dkim_result is the result of verifying DKIM using the cfdkim crate. In the future it should be a trait.
spf_result is the result of verifying SPF.
Sending feedback report
Not planned yet.