From eb42b9ee685799bb3f00fb12c516c30dbdb74952 Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Sat, 7 Sep 2024 15:09:39 -0500 Subject: [PATCH] Fix mail ssl --- compose.yml | 2 +- mail/env | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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= -- 2.43.4