server-setup/templates/var/lib/stalwart-mail/cli.sh

6 lines
204 B
Bash

mail_passwd="$mail_passwd"
function stalwart-cli()
{
(cd "$wd" && CREDENTIALS="admin:$mail_passwd" exec docker compose -p server exec -T -e CREDENTIALS mail stalwart-cli -u "http://localhost" "$@")
}