Update install-postfix.sh

This commit is contained in:
2024-05-13 10:12:35 -05:00
parent 71f8160f0c
commit 3cdd5e5567

View File

@@ -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/<<HOSTNAME>>/${pfhostname}/g" main.cf
sed -i "s/<<FROMEMAIL>>/${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