Files
relay/filtermail/Cargo.toml
T
Jagoda Estera Ślązak 23074f0898 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>
2026-08-18 12:21:27 +02:00

35 lines
783 B
TOML

[package]
name = "filtermail"
version = "0.3.0"
edition = "2024"
license = "MIT"
readme = "README.md"
authors = ["Chatmail Developers"]
description = "A mail filtering service used by chatmail relay"
repository = "https://github.com/chatmail/filtermail"
[dependencies]
async-trait = "0.1.89"
base64 = "0.22.1"
serde = { version = "1.0.228", features = ["derive"] }
serini = "0.2.2"
tokio = { version = "1.49.0", features = ["full"] }
thiserror = "2.0.18"
mailparse = "0.16.1"
log = "0.4.29"
env_logger = "0.11.9"
governor = "0.10.4"
viadkim = { version = "0.2.0" }
hickory-resolver = "0.25.2"
lru = "0.16.3"
parking_lot = "0.12.5"
[dev-dependencies]
rstest = "0.26.1"
testresult = "0.4.1"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"