Update install-postfix.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user