From 359d45a3de97e2da1585f35565d4f89102dfb6ea Mon Sep 17 00:00:00 2001 From: Ernesto Alfonso Date: Thu, 26 Oct 2023 19:47:32 -0400 Subject: [PATCH] docker: Fix using a domain directory path as a domain name There is a bug causing an invalid config in the generated /etc/dovecot/auto-ssl.conf, e.g.: ssl_cert = Minor edits to the commit message. --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 7093000..5302169 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -62,7 +62,7 @@ for i in /etc/letsencrypt/live/*; do done # We need one domain to use as a default - pick the last one. -ONE_DOMAIN=$i +ONE_DOMAIN=$D # Check that there's at least once certificate at this point. if [ "$CERT_DOMAINS" == "" ]; then