Hedwig - A high-performance, minimalist SMTP server implemented in Rust.
- Async SMTP relay with persistent filesystem queue
- DKIM signing (RSA and Ed25519)
- MTA-STS (RFC 8461) — automatic TLS policy enforcement for outbound delivery
- SMTP authentication (PLAIN, LOGIN, CRAM-MD5; multiple users)
- TLS/STARTTLS support with multiple listeners
- Per-domain rate limiting
- Prometheus metrics and health checks
- Domain-based sender/recipient filtering
Documentation lives at https://hedwig-mail.dev
Download the latest release binary from GitHub Releases:
curl -L -o hedwig.zip https://github.com/iamd3vil/hedwig/releases/download/v0.12.3/hedwig-v0.12.3-linux-x86_64.zip
unzip hedwig.zip
chmod +x hedwigChecksums:
https://github.com/iamd3vil/hedwig/releases/download/v0.12.3/checksums.txt
Images are published at ghcr.io/iamd3vil/hedwig for Linux AMD64 and ARM64.
Docker selects the matching architecture automatically:
docker pull ghcr.io/iamd3vil/hedwig:0.12.3Use an exact version for a pinned deployment. The 0.12 and latest tags are
updated by release builds. See the Docker quickstart
for configuration and persistent storage mounts, and the
release workflow guide for publishing.
git clone https://github.com/iamd3vil/hedwig.git
cd hedwig
cargo build --releaseAGPL v3. See LICENSE.
