Issue Description
Environment
- Stalwart Mail Server v0.14.1 (
ghcr.io/stalwartlabs/stalwart:v0.14.1-alpine) - Fresh install; authentication is the default
authentication.fallback-adminentry inconfig.toml. No directory principals exist yet (verified via JMAPPrincipal/query→"ids":[]).
Reproduction
- Log in to the webadmin as the fallback admin.
- Change the password (Settings → Account → change password). The UI reports success; no error is shown.
- Log out. The old password still authenticates; the new one does not.
Observed
authentication.fallback-admin.secretinconfig.tomlis unchanged after the “successful” change.- No directory principal is created (JMAP
Principal/queryreturns empty), so the new password was written nowhere. - The change is a silent no-op.
Expected
Either:
- the webadmin updates
authentication.fallback-admin.secret, or - it refuses with an explicit error, e.g. “The fallback administrator password can only be changed in the server configuration file.”
Silently accepting the change while leaving the old password valid is the worst outcome — the operator believes the password was rotated when it was not.
Notes
Changing the password by editing authentication.fallback-admin.secret in config.toml directly works as expected.
Expected Behavior
Either:
- the webadmin updates
authentication.fallback-admin.secret, or - it refuses with an explicit error, e.g. “The fallback administrator password can only be changed in the server configuration file.”
Silently accepting the change while leaving the old password valid is the worst outcome — the operator believes the password was rotated when it was not.
Actual Behavior
authentication.fallback-admin.secretinconfig.tomlis unchanged after the “successful” change.- No directory principal is created (JMAP
Principal/queryreturns empty), so the new password was written nowhere. - The change is a silent no-op.
Reproduction Steps
- Log in to the webadmin as the fallback admin.
- Change the password (Settings → Account → change password). The UI reports success; no error is shown.
- Log out.
- Attempt to log in. The old password still authenticates; the new one does not.
Stalwart Version
v0.14.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
Additional Context
The bug reproduces on the fallback account on a fresh 0.14.1 install, config secret unchanged after the webadmin password change, no directory principal created.
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on