Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (16 sloc) 722 Bytes



This library provides OCaml bindings to libmilter.

Build and installation

After cloning the repository, run the commands below to build OCaml-Milter.

$ ocaml -configure
$ ocaml -build

Documentation can be generated with the command below.

$ ocaml -doc

To install OCaml-Milter, run

# ocaml -install


Since libmilter uses pthreads internally, this module is thread-safe. However, due to the current OCaml implementation, each of the milter callbacks must acquire a global runtime lock while being executed, meaning that effectively only a single thread will be running at a given time.