Library
Module
Module type
Parameter
Class
Class type
OCaml bindings to libspf2. It is strongly recommended that a patched libspf2 with fixes sent to the SPF-devel mailing list is used instead of the current official libspf2 release (version 1.2.9).
val check_helo : server -> Unix.inet_addr -> string -> response
check_helo spf addr helo
performs an SPF check on address addr
on the SPF record for the HELO name helo
using SPF server spf
.
val check_from : server -> Unix.inet_addr -> string -> response
check_helo spf addr from
performs an SPF check on address addr
on the SPF record of the domain of the MAIL FROM address from
.
val received_spf : response -> string