#postfix #policy

postfix_policy

A Postfix SMTP access policy delegation handler. It handles protocol parsing and response sending to talk to Postfix.

3 unstable releases

0.2.0 May 29, 2019
0.1.2 May 28, 2019
0.1.1 May 25, 2019
0.1.0 May 25, 2019

#248 in Email

LGPL-3.0-or-later

16KB
311 lines

A Postfix SMTP access policy delegation handler written in Rust. It handles protocol parsing and response sending to talk to Postfix.

examples/request_dump.rs contains a small example that spawns a policy server listening on /tmp/policy_example, that dumps all incoming policy requests to stdout. Postfix can be configured to use it by using check_policy_service { unix:/tmp/policy_example, default_action=DUNNO }.

See recipientfilter for a complete example how to use it.


lib.rs:

A Postfix SMTP access policy delegation handler. It handles protocol parsing and response sending to talk to Postfix

No runtime deps