Hello community,
I am working on a scenario where I need to export DKIM keys using CLI instead of fetching them manually through the Mailcow UI.
Currently, I can view and copy the DKIM keys from the UI without any issue. However, for automation purposes, the requirement is to retrieve the DKIM key directly from the CLI, so it can be stored and later imported into another Mailcow instance.
Could someone please guide me on:
- The exact location (inside the container or host) where the DKIM keys are stored.
- The recommended way to extract these keys via CLI so that they match what we see in the UI.
Any suggestions, best practices, or scripts to streamline this process would be greatly appreciated.
Thank you in advance for your support.