- mail-oci: OCI Email Delivery client (signed REST), per-customer domain/DKIM/sender onboarding, suppression mirror, sending limits - mail-mta: RelayPool transport with OCI primary, optional secondary, health/back-off/quota failover; direct MTA kept but off - mail-inbound: DSN/ARF/DMARC/TLS-RPT parsing + HMAC-signed POST /inbound/raw ingest (no port 25) - workers/inbound-forwarder: Cloudflare Email Routing worker forwarding raw mail over HTTPS Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
38 lines
1.7 KiB
TOML
38 lines
1.7 KiB
TOML
[package]
|
|
name = "mail-inbound"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Scribase Mail inbound MX: SMTP server with STARTTLS, SPF/DKIM/DMARC/ARC verification and DSN/ARF/DMARC/TLS-RPT routing. Independent implementation, written without reference to useSend or Stalwart server source."
|
|
|
|
[dependencies]
|
|
mail-types.workspace = true
|
|
async-trait.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { version = "1.47", features = ["rt-multi-thread", "net", "io-util", "time", "sync", "macros", "fs"] }
|
|
tokio-rustls = { version = "0.26.6", default-features = false, features = ["ring", "tls12", "logging"] }
|
|
rustls = { version = "0.23.46", default-features = false, features = ["ring", "tls12", "std", "logging"] }
|
|
rustls-pki-types = { version = "1.16", features = ["std"] }
|
|
rustls-pemfile = "2.2.0"
|
|
mail-auth-lib = { package = "mail-auth", version = "0.15.1", default-features = false, features = ["rust-crypto", "dns-hickory", "arc"] }
|
|
mail-parser = "1.0.1"
|
|
smtp-proto = "0.2.5"
|
|
sqlx = { version = "0.9.0", default-features = false, features = ["runtime-tokio", "tls-rustls-ring", "postgres", "chrono", "migrate", "macros"] }
|
|
chrono = { version = "0.4.42", features = ["serde"] }
|
|
flate2 = "1.1.11"
|
|
zip = { version = "9.5.1", default-features = false, features = ["deflate"] }
|
|
quick-xml = "0.42.0"
|
|
tracing = "0.1.44"
|
|
uuid = { version = "1.18", features = ["v4"] }
|
|
# HTTPS ingest (`POST /inbound/raw`): axum server, HMAC-SHA256 request auth.
|
|
axum = { version = "0.8", features = ["json"] }
|
|
hmac = "0.13"
|
|
sha2 = "0.11"
|
|
hex = "0.4"
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
rcgen = "0.14.10"
|