package uspf

  1. Overview
  2. Docs
SPF implementation in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uspf-0.2.0.tbz
sha256=ab3f115a5f0dbc98b45c93634fb3566b12be3947b7c30587fb3adb5f3037461d
sha512=0db95f2a97796077fb241e4b91cbb7b144c4285ef1e5dbdb53c94df550345a7023438258996c9bbca0d34ff053e51e00491f42efc5eda99195b699d3d3742a47

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