Implement SPF policy enforcement

apply_spf module implements recommendation from DMARC RFC to not
reject messages based on only SPF policy if DMARC policy is present.

Closes #91.
This commit is contained in:
fox.cpp 2019-10-29 23:04:13 +03:00
parent f52948965f
commit 6620282912
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
7 changed files with 341 additions and 0 deletions

View file

@ -12,6 +12,7 @@ import (
_ "github.com/foxcpp/maddy/auth/shadow"
_ "github.com/foxcpp/maddy/check/dkim"
_ "github.com/foxcpp/maddy/check/dns"
_ "github.com/foxcpp/maddy/check/spf"
_ "github.com/foxcpp/maddy/endpoint/imap"
_ "github.com/foxcpp/maddy/endpoint/smtp"
_ "github.com/foxcpp/maddy/modify"