stalwartlabs / mail-auth

DKIM, ARC, SPF and DMARC library for Rust
https://docs.rs/mail-auth/
Apache License 2.0
82 stars 13 forks source link

MTA / MTA connection #2

Closed stappersg closed 1 year ago

stappersg commented 1 year ago

Is mail-auth a Mail Transfer Agent? Or how to connect mail-auth with a MTA like postfix?

This project's README.md doesn't tell.

stappersg commented 1 year ago

Link to a next-gen Mail Transfer Agent (MTA) written in Rust.. No idea how it should connect with mail-auth, the URL might help, might add noise.

mdecimus commented 1 year ago

mail-auth is an e-mail authentication library, it does not send messages, it just validates the authenticity of an e-mail message using DKIM, ARC, SPF and DMARC.

An MTA that uses mail-auth will be released in a few months.

gsauthof commented 11 months ago

@stappersg The common way to connect it with Postfix would be to set it up as a milter.

This is how it's done when pairing Postfix with opendkim or rspamd for DKIM signing and/or verification.

AFAICS, this project doesn't include milter support, thus, you would need to grab some Rust milter library and write your own milter that calls into mail-auth.