stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
4.8k stars 194 forks source link

[bug]: stalwart-cli does not actually delete a key #554

Closed EliRibble closed 1 week ago

EliRibble commented 3 months ago

What happened?

List all the configs to a file using stalwart-cli. Delete a config. Re-list the config. The deleted item is still there.

How can we reproduce the problem?

Version

v0.8.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?

Linux

Relevant log output

$ bin/stalwart-cli server delete-config certificate.default.cert
> Successfully deleted key certificate.default.cert.
$ bin/stalwart-cli server list-config > /tmp/stalwart-config-2
> 7973 keys found.

Code of Conduct

mdecimus commented 1 week ago

Fixed.