github.com/asggo/spf (go): Package spf can parse an SPF record and determine if a given IP address is allowed to send email based on that record. SPF can handle all of the mechanisms defined at http://www.openspf.org/SPF_Record_Syntax. The redirect mechanism is ignored.
Keywords: dns|go|golang|security|sender-policy-framework|spf|spf-record