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
Milter expects the milter C library and header files to be available.
Low-level FFI bindings are provided by the [milter-sys] crate.
Dependencies:
[dependencies]
libc = "0.2"
milter = "0.1.1"
A milter application:
```
extern crate milter;
use milter::Milter;
fn main() { Milter::new("unix:/run/milter.sock").run(); } ```
See the documentation for more, https://docs.rs/milter.
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.