From 5bcbb5c03962582826d2f692df884635708692a7 Mon Sep 17 00:00:00 2001 From: Zypr Date: Sun, 6 Dec 2015 02:57:29 +0100 Subject: [PATCH] :zzz: --- sources/script/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/script/functions.sh b/sources/script/functions.sh index f067f76..2e41053 100644 --- a/sources/script/functions.sh +++ b/sources/script/functions.sh @@ -928,7 +928,7 @@ if [ ${USE_MAILSERVER} == '1' ]; then mkdir -p /etc/ssl/mail >/dev/null 2>&1 rm /etc/ssl/mail/* >/dev/null 2>&1 cp /etc/nginx/ssl/dh.pem /etc/ssl/mail/dhparams.pem - [ ${USE_VALID_SSL} == '1' ]; then + if [ ${USE_VALID_SSL} == '1' ]; then ln -s /etc/letsencrypt/live/${MYDOMAIN}/fullchain.pem /etc/ssl/mail/mail.crt ln -s /etc/letsencrypt/live/${MYDOMAIN}/privkey.pem /etc/ssl/mail/mail.key else