spf

OCaml bindings for libspf2
IN THIS PACKAGE
Module SPF
type server
type dns =
| Dns_resolv
| Dns_cache
| Dns_zone
type request
type response
type comments
type reason
type result =
| Invalid
| Neutral of comments
| Pass
| Fail of comments
| Softfail of comments
| None
| Temperror
| Permerror
exception SPF_error of string
val server : ?debug:bool -> dns -> server
val free_server : server -> unit
val request : server -> request
val free_request : request -> unit
val check_helo : server -> Unix.inet_addr -> string -> response
val check_from : server -> Unix.inet_addr -> string -> response
val result : response -> result
val reason : response -> reason
val received_spf : response -> string
val received_spf_value : response -> string
val header_comment : response -> string
val smtp_comment : comments -> string
val explanation : comments -> string
val string_of_result : result -> string
val string_of_reason : reason -> string