Update install-postfix.sh

This commit is contained in:
2023-12-03 20:05:17 -06:00
parent 6cbe38c3d4
commit 52abe55297

View File

@@ -58,7 +58,7 @@ case "$choice" in
echo -e -n "${idsCL[LightCyan]}Password for direct: ${idsCL[Default]}"
read -s PASSWORD
echo
wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/direc.auth.cf -O /etc/postfix/main.cf
wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/direct.auth.cf -O /etc/postfix/main.cf
echo "[pro.turbo-smtp.com]:587 ${USERNAME}:${PASSWORD}" > /etc/postfix/sasl_passwd
sudo chmod 600 /etc/postfix/sasl_passwd
sudo postmap /etc/postfix/sasl_passwd