Update linupx-scripts.sh
This commit is contained in:
@@ -502,8 +502,9 @@ POSTFIX_INSTALL(){
|
|||||||
read -s PASSWORD
|
read -s PASSWORD
|
||||||
echo
|
echo
|
||||||
wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.auth.cf -O /etc/postfix/main.cf
|
wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.auth.cf -O /etc/postfix/main.cf
|
||||||
sed -i "s/<<USERNAME>>/${USERNAME}/g" main.cf
|
echo "smtp.scity.us ${USERNAME}@scity.us:${PASSWORD}" > /etc/postfx/sasl_passwd
|
||||||
sed -i "s/<<PASSWORD>>/${PASSWORD}/g" main.cf
|
sudo chmod 600 /etc/postfix/sasl_passwd
|
||||||
|
sudo postmap /etc/postfix/sasl_passwd
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user