Ansible collection belowtoxic.mail: Stalwart mail servers
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
oliver.maklott 178aff9722
All checks were successful
ci / units (push) Successful in 0s
ci / sanity (push) Successful in 2s
ci / molecule (push) Successful in 1m59s
ci / build (push) Successful in 1s
ci / lint (push) Successful in 8s
release / release (push) Successful in 2s
Release 0.1.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
2026-11-30 09:02:53 +00:00
.forgejo/workflows belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
changelogs Release 0.1.1 2026-11-30 09:02:53 +00:00
extensions/molecule QC: administrators' passwords not on sudo's log 2026-11-30 07:48:52 +00:00
meta belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
roles/stalwart QC: administrators' passwords not on sudo's log 2026-11-30 07:48:52 +00:00
.ansible-lint belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
.copier-answers.yml belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
.gitignore belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
.gitleaks.toml belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
.gitleaksignore molecule: the lab's metrics password is not a secret 2026-11-30 01:01:05 +00:00
.pre-commit-config.yaml belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
.yamllint belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
CHANGELOG.md Release 0.1.1 2026-11-30 09:02:53 +00:00
CONTRIBUTING.md belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
galaxy.yml Release 0.1.1 2026-11-30 09:02:53 +00:00
LICENSE belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
README.md belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
ruff.toml belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00
SECURITY.md belowtoxic.mail: the stalwart role 2026-11-30 01:00:22 +00:00

belowtoxic.mail

Mail: Stalwart (community and enterprise) on Flatcar, configured as code - relays per sender, DKIM, ACME, metrics and backups

Part of the belowtoxic-ansible infrastructure code. All environment-specific data (addresses, hosts, credentials) comes from OpenBao and the Hetzner APIs at runtime - nothing in this repository is specific to a deployment.

Installation

# requirements.yml
collections:
  - name: https://git.belowtoxic.cloud/belowtoxic-ansible/collection-mail.git
    type: git
    version: v0.1.0
ansible-galaxy collection install -r requirements.yml

Content

Role What it does
stalwart Stalwart mail server in a container under systemd, configured as code: domains, ACME certificates, listeners, relays chosen by sender, DKIM, metrics; backup stream and restore

Stalwart's community and enterprise editions are the same image: an enterprise license (stalwart_edition: enterprise, stalwart_license_key) turns the enterprise features on. Tested in extensions/molecule/stalwart on Flatcar.

Development

git clone https://git.belowtoxic.cloud/belowtoxic-ansible/toolchain.git ../toolchain
eval "$(../toolchain/bin/bt-ci-setup)"   # pinned toolchain, same as CI
pre-commit install
bt-ci lint && bt-ci sanity && bt-ci units

See CONTRIBUTING.md.

License

GPL-3.0-or-later, see LICENSE.