Quickstart

Install the release binary first: see Installation.

Minimal config

Create a config.toml (or a HUML config if you prefer that format):

[server]
workers = 4
max_retries = 5

[server.smtp]
min_idle = 2
max_size = 10

[[server.listeners]]
addr = "0.0.0.0:25"

[storage]
storage_type = "fs"
base_path = "/var/lib/hedwig/mail"

Run

HEDWIG_LOG_LEVEL=info ./hedwig

Next: customize listeners, auth, DKIM, and policies in Configuration.