feat!: DKIM verifier (#35)

* feat!: DKIM verifier

This implements a DKIM verification as well as a strict
DKIM signature alignment check with domain in `From`
header address.

Caches the retrieved RDATA using in-memory LRU.

BREAKING CHANGE: incoming messages now require DKIM signatures
  aligned to domain of the `From` header address.

Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>

* chore(license): License binaries under GPLv3

Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>

---------

Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
This commit is contained in:
Jagoda Estera Ślązak
2026-08-18 12:21:27 +02:00
committed by missytake
parent dc97e85ebe
commit 23074f0898
12 changed files with 2072 additions and 40 deletions
+6
View File
@@ -7,3 +7,9 @@ Rust drop-in reimplementation of chatmaild's filtermail.
```plain
filtermail <config> (incoming|outgoing)
```
## License
Code licensed under [MIT](LICENSE).
Binaries distributed under [GPL-3.0-or-later](LICENSE).