Ansible collection belowtoxic.mail: Stalwart mail servers
- Jinja 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG |
||
| .forgejo/workflows | ||
| changelogs | ||
| extensions/molecule | ||
| meta | ||
| roles/stalwart | ||
| .ansible-lint | ||
| .copier-answers.yml | ||
| .gitignore | ||
| .gitleaks.toml | ||
| .gitleaksignore | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| galaxy.yml | ||
| LICENSE | ||
| README.md | ||
| ruff.toml | ||
| SECURITY.md | ||
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.