Files
opencloud/devtools/deployments/opencloud_full/config/stalwart
Pascal Bleser 878029fe48 upgrade to Stalwart 0.14.0
* upgrade image version in devtools to 0.14.0

 * fix idmldap configuration to use the cn attribute in order for that
   to also work for groups (groups don't have a uid attribute in the IDM
   built-in LDAP)

 * group resources are now checked against LDAP, changed
   demo-principals.yaml accordingly to refer to a group that exists in
   LDAP as part of the demo data
2026-02-04 09:40:22 +01:00
..
2026-02-04 09:40:22 +01:00

Stalwart Configuration

The mechanics are currently to mount a different configuration file depending on the environment, as we support two scenarios that are described in services/groupware/DEVELOPER.md:

  • «production» setup, with OpenLDAP and Keycloak containers
  • «homelab» setup, with the built-in IDM (LDAP) and IDP that run as part of the opencloud container

The Docker Compose setup (in stalwart.yml) mounts either idmldap.toml or ldap.toml depending on how the variable STALWART_AUTH_DIRECTORY is set, which is either idmldap for the homelab setup, or ldap for the production setup.

This is thus all done automatically, but whenever changes are performed to Stalwart configuration files, they must be reflected across those two files, to keep them in sync, as the only entry that should differ is this one:

storage.directory = "ldap"

or this:

storage.directory = "idmldap"