mail-server
mail-server copied to clipboard
[bug]: CLI Request failed
What happened?
Using the stalwart-cli
inside a container to edit some configuration like server add-config server.hostname
fails with this message:
Request failed: {"type":"about:blank","status":400,"title":"Invalid parameters","detail":"Failed to deserialize JSON: unknown variant `server.hostname`, expected one of `Delete`, `Clear`, `Insert` at line 1 column 19"}
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
- Run stalwart with docker
docker run --rm -d --name mail stalwartlabs/mail-server:v0.7.2
- Get the credentials with
docker logs mail
- Try to use command line inside the container to update the configuration
docker exec mail stalwart-cli -u https://localhost -c <password> server add-config server.hostname foo.example.com
Version
v0.7.x
What database are you using?
RocksDB
What blob storage are you using?
RocksDB
Where is your directory located?
Internal
What operating system are you using?
Docker
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct