This is the configuration for my NixOS mailserver, runnning on Hetzner Cloud.
- Postfix for SMTP/SUBMISSION
- Dovecot for IMAP
- Rspamd for spam detection & DKIM signing
- automated updating of the DKIM DNS record via Hetzner DNS API
- Redis as cache
- Unbound DNS for local DNS resolution
- ACME for automated certificate renewing
- Postgresql as a database for both postfix and dovecot
- Thunderbird autoconfig
- Wireguard
- LDAP integration