From 1793233157b08f5e1f760f4c72b4ba25b9f15bd6 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 26 Jan 2023 19:25:37 -0500 Subject: [PATCH] fix --- emailwiz.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/emailwiz.sh b/emailwiz.sh index 77c1765..fac8671 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -65,11 +65,7 @@ done apt install -y python3-certbot certbot -d "$maildomain" certonly --standalone --register-unsafely-without-email --agree-tos ;; -esac - -[ ! -d "$certdir" ] && echo "Note! You must first have a Let's Encrypt Certbot HTTPS/SSL Certificate for $maildomain. - -Use Let's Encrypt's Certbot to get that and then rerun this script. It failed to run automatically here." && exit 1 +esac || exit $1 echo "Configuring Postfix's main.cf..."