This commit is contained in:
Luke Smith 2023-01-26 19:25:37 -05:00
parent bf982255aa
commit 1793233157

View File

@ -65,11 +65,7 @@ done
apt install -y python3-certbot apt install -y python3-certbot
certbot -d "$maildomain" certonly --standalone --register-unsafely-without-email --agree-tos certbot -d "$maildomain" certonly --standalone --register-unsafely-without-email --agree-tos
;; ;;
esac esac || exit $1
[ ! -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
echo "Configuring Postfix's main.cf..." echo "Configuring Postfix's main.cf..."