package uspf

  1. Overview
  2. Docs
SPF implementation in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uspf-0.2.1.tbz
sha256=e4e7ecd1422ce2c0baa5da982f58ec4f1986913772f1cd16bf24f46b4b411f95
sha512=02dfe40a2e5d8b3c4f361cb9a78f96e437a4fc4de36a7256b0c4f1af7b1efa15525e219219d9fef9a54518162f3c4fae68e32ca5aa7b10cd4673245ccd690335

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