From: Damian Myrda Date: Sat, 7 Sep 2024 20:09:39 +0000 (-0500) Subject: Fix mail ssl X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=eb42b9ee685799bb3f00fb12c516c30dbdb74952;p=p8d.git Fix mail ssl --- diff --git a/compose.yml b/compose.yml index 4d591a8..858fa21 100644 --- a/compose.yml +++ b/compose.yml @@ -26,7 +26,7 @@ services: - ./mail/state/:/var/mail-state/ - ./mail/logs/:/var/log/mail/ - ./mail/config/:/tmp/docker-mailserver/ - - ./web/data/:/etc/caddy/certificates/ + - ./web/data/certificates/:/etc/certificates/ cap_add: - NET_ADMIN healthcheck: diff --git a/mail/env b/mail/env index 94baec7..149f5a3 100644 --- a/mail/env +++ b/mail/env @@ -242,8 +242,8 @@ SSL_TYPE=manual # These are only supported with `SSL_TYPE=manual`. # Provide the path to your cert and key files that you've mounted access to within the container. -SSL_CERT_PATH=/etc/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.crt -SSL_KEY_PATH=/etc/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.key +SSL_CERT_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.crt +SSL_KEY_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.key # Optional: A 2nd certificate can be supported as fallback (dual cert support), eg ECDSA with an RSA fallback. # Useful for additional compatibility with older MTA and MUA (eg pre-2015). SSL_ALT_CERT_PATH=