rmilter
rmilter is a Rust crate that allows to connect to MTA services like sendmail or postfix using the milter protocol.
This library uses pure safe Rust code and doesn't require external libraries like libmilter.
Features
- Connect to MTA services using the milter protocol (IPv4/IPv6 only for now)
- Define which messages should be transferred
- Automatically decode
base64andquoted-printablevalues - Uses Rust's type system to prevent misusing the milter protocol
Usage
This crate is on crates.io and can be used by adding rmilter to your dependencies in your project's Cargo.toml.
[]
= "0.1"
Example
use AcceptRejectAction;
use MessageHandler;
use MilterProtocol;
use MilterBuilder;
Status
rmilter can be used to connect to MTA services and receive messages. It is also possible to easily accept or reject a mail (using AcceptRejectAction).
Currently, functionality for manipulating the mail (add header, recipients and so on) is not yet supported, but will be in a future release.