Configuration
Add settings
Section titled “Add settings”Configuration attributes can be created or updated using the server add-config command which takes a key-value pair as argument.
For example, to set the server.hostname attribute to jmap.example.org:
$ stalwart-cli -u https://jmap.example.org server add-config server.hostname jmap.example.orgRemove settings
Section titled “Remove settings”Configuration attributes can be removed using the server delete-config command which takes a key as argument.
For example, to remove the server.hostname attribute:
$ stalwart-cli -u https://jmap.example.org server delete-config server.hostnameIt is also possible to delete multiple keys that share the same prefix by adding a . to the key name.
For example, to remove all keys starting with server.security.blocked-networks:
$ stalwart-cli -u https://jmap.example.org server delete-config server.security.blocked-networks.List settings
Section titled “List settings”Configuration attributes can be listed using the server list-config command, which takes an optional prefix as an argument.
For example, to list all attributes starting with server.security:
$ stalwart-cli -u https://jmap.example.org server list-config server.security.Reloading
Section titled “Reloading”TLS certificates
Section titled “TLS certificates”Stalwart supports ACME (Automatic Certificate Management Environment) for TLS certificate management, which allows automatic certificate issuance and renewal. However, when TLS certificate management is done manually, it is necessary to reload any new certificates in order for the changes to take effect. This can be done by running the server reload-certificates command:
$ stalwart-cli -u https://jmap.example.org server reload-certificatesConfiguration
Section titled “Configuration”It is possible to reload certain parts of the configuration file without restarting the server. This can be done by running the server reload-config command:
$ stalwart-cli -u https://jmap.example.org server reload-config