package uspf

  1. Overview
  2. Docs

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.