milter

The milter crate provides an API for implementing milters, that is mail filter applications using the sendmail milter protocol.

Milter applications can be integrated with email servers such as [Postfix].

WORK IN PROGRESS

Requirements

Milter expects the milter C library and header files to be available.

Low-level FFI bindings are provided by the [milter-sys] crate.

For development, the integration tests require the miltertest program. On Debian and Ubuntu, this is provided as part of the opendkim-tools package.

Usage

Dependencies:

[dependencies] libc = "0.2" milter = "0.1.2"

A milter application that does nothing:

``` use milter::Milter;

fn main() { Milter::new("unix:/run/milter.sock").run(); } ```

See the documentation for more, https://docs.rs/milter.

Licence

Copyright © 2019 David Bürgin

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.