Skip to content

[bug]: Domain, account, list and group management missing from CLI #802

Description

@p-try

What happened?

As per the documentation stalwart-cli supports management of domains and other pricipal entities:
https://stalw.art/docs/management/cli/directory/domains

In v0.10.0 this seems to have been intentionally removed:
b59f5f1

I assume this may have been a temporary change and it was not supposed to be shipped. It would be a pity to remove these CLI commands as they are particularily useful whenever Stalwart is used as an e-mail server module of another software project.

How can we reproduce the problem?

Run stalwart-cli in a v0.10.0 container:

Stalwart Mail Server CLI

Usage: stalwart-cli [OPTIONS] <COMMAND>

Commands:
  import  Manage user accounts Import JMAP accounts and Maildir/mbox mailboxes
  export  Export JMAP accounts
  server  Manage JMAP database
  queue   Manage SMTP message queue
  report  Manage SMTP DMARC/TLS report queue
  help    Print this message or the help of the given subcommand(s)

Options:
  -u, --url <URL>                  Server base URL
  -c, --credentials <CREDENTIALS>  Authentication credentials
  -t, --timeout <TIMEOUT>          Connection timeout in seconds
  -h, --help                       Print help
  -V, --version                    Print version

Previously available subcommands domain, account, list and group aren't there anymore.

Version

v0.10.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

LDAP

What operating system are you using?

Docker

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions