stalwartlabs / mail-server

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

[enhancement]: create dkim keys using stalwart-cli #575

Closed programmerjake closed 3 months ago

programmerjake commented 3 months ago

Which feature or improvement would you like to request?

I'd like to see this feature: a simple CLI command to create DKIM keys like you can from the web interface and through the REST API. Also it would be nice to have stalwart-cli domain create have an option to auto-create DKIM keys so you don't have to do it manually.

Is your feature request related to a problem?

I'm having a problem with creating a domain using the CLI and having all the necessary additional stuff set up such as DKIM keys. This is as part of a script to auto-setup a mail server.

Code of Conduct

mdecimus commented 3 months ago

You can use the REST API for this, for example with curl. The CLI is only being maintained but new features are not being added.

programmerjake commented 3 months ago

ok, that REST API is missing documentation, I only figured out how to use it by reading the source code and watching the requests made by the web frontend