package uspf

  1. Overview
  2. Docs
SPF implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uspf-0.1.0.tbz
sha256=4ca264d7a354adceadc1344728b28af1c21436ad25cc642ee6b5658bb4789caa
sha512=08d7ede78617e6a1a9282f883bc89acd27325831f586956a1a274581ac1eb8c8a7a4cd34c9e00781f0c6ca0f6f31a41e6c4aaa93053807ee54116eeff920abbf

doc/uspf.unix/Uspf_unix/index.html

Module Uspf_unixSource

Unix layer of uSPF.

uSPF is a standalone library which requires some specialisations like the scheduler and the DNS stack used to get DNS records. This module specialises uSPF with the module Unix and ocaml-dns. check does the SPF verification from a given Uspf.ctx and extract_received_spf extracts the Received-SPF field from a given email.

For more details about uSPF and how to use it, please take a look on Uspf.

Sourceval get_and_check : Dns_client_unix.t -> Uspf.ctx -> Uspf.Result.t option
Sourceval extract_received_spf : ?newline:[ `LF | `CRLF ] -> in_channel -> (Uspf.Extract.field list, [> `Msg of string ]) result
OCaml

Innovation. Community. Security.