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