mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-28 09:16:15 +00:00
The classifier can load and merge rules from multiple files. A basic iana enhanced status codes ruleset is provided. A deployment can define their own to augment that set. This commit is just the core classifier functionality; it is not yet connected to kumod. The classification enum is a bit of an amalgam of categories defined by other well-known vendors/products and the categories defined by IANA. Some classifications have no corresponding rules at the current time.
14 lines
305 B
TOML
14 lines
305 B
TOML
[package]
|
|
name = "bounce-classify"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
regex = "1.7"
|
|
rfc5321 = {path="../rfc5321"}
|
|
serde = {version="1.0", features=["derive"]}
|
|
serde_json = "1.0"
|
|
toml = "0.7"
|