Applications written in Caml
Others
kom
[07-Jul-2006, version
1.0,
Stable]

Kom stands for "Keep old mails". It imports emails in a MySQL database and provides a frontend in gtk2 to search and browse the archived emails. Some options can be used to incrementally import mails (do to it each month for example). It can also export mails stored in the database, in mbox format or one-message-per-file format, and generate some statistics.
mbox-cleaner
[07-Apr-2005, version
1.0.0,
Stable]
A tool which throws away doublettes of mails (comparing body-contents). It reads from stdin and writes to stdout.
Major applications
SpamOracle
[26-Aug-2002, version
1.4,
Stable]

SpamOracle, a.k.a. "Saint Peter", is a tool to help detect and filter away "spam" (unsolicited commercial e-mail). It proceeds by statistical analysis of the words that appear in the e-mail, comparing the frequencies of words with those found in a user-provided corpus of known spam and known legitimate e-mail. The classification algorithm is based on Bayes' formula, and is described in Paul Graham's paper, A plan for spam.
Libraries
Native OCaml libraries
mail-smtp
[02-Jun-2003, version
0.1.3,
Alpha]

An Objective Caml library implementing part of the SMTP protocol.
OCamlnet
[16-Aug-2012, version
3.6,
Mature]


A collection of modules for the Objective Caml language which focus on application-level Internet protocols and conventions.
Bindings with C libraries
OCaml-Milter
[25-Sep-2012, version
1.0.0,
Stable]
This library provides OCaml bindings to libmilter.
OCaml-SPF
[25-Sep-2012, version
1.0.0,
Stable]
This library provides OCaml bindings to libspf2.
OCaml-SRS
[25-Sep-2012, version
1.0.0,
Stable]
This library provides OCaml bindings to libsrs2.