From 3cdd5e5567a4dd330bf25705a064de34c85e588c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 May 2024 10:12:35 -0500 Subject: [PATCH] Update install-postfix.sh --- install-postfix.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-postfix.sh b/install-postfix.sh index d4b0458..68d3174 100755 --- a/install-postfix.sh +++ b/install-postfix.sh @@ -64,6 +64,7 @@ case "$choice" in sudo chmod 600 /etc/postfix/sasl_passwd sudo postmap /etc/postfix/sasl_passwd sudo rm -f /etc/postfix/sasl_passwd + $APTFUNC install -y libsasl2-modules ;; esac @@ -81,7 +82,7 @@ case "$choice" in sed -i "s/<>/${pfhostname}/g" main.cf sed -i "s/<>/${pffromemail}/g" sender_canonical - service postfix start + service postfix restart echo -e -n "${idsCL[Yellow]}Send test Alert to (leave blank to not send test): ${idsCL[Default]}" read TESTEMAIL