feat: create stalwart module (#418)

- add stalwart module
- add psql database on the shared patroni instance
- add ceph-rgw credentials to eyaml
- ensure psql pass and s3 access key are converted to sensitive

Reviewed-on: #418
This commit was merged in pull request #418.
This commit is contained in:
2025-11-08 19:09:30 +11:00
parent 92a48b4113
commit 9dd74013ea
13 changed files with 1067 additions and 2 deletions
+7 -2
View File
@@ -1,9 +1,14 @@
# a role to deploy a imap/pop3 backend for mail services
# roles::infra::mail::backend
#
# Configures Stalwart IMAP backend servers in a clustered configuration
# with PostgreSQL for data/fts/memory storage and S3/Ceph-RGW for blob storage.
# Integrates with postfix hosts for SMTP relay functionality.
#
class roles::infra::mail::backend {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
} else {
include profiles::defaults
include profiles::base
}