Update linupx-scripts.sh
This commit is contained in:
@@ -495,6 +495,7 @@ POSTFIX_INSTALL(){
|
|||||||
[Ii]) wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.cf -O /etc/postfix/main.cf;;
|
[Ii]) wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.cf -O /etc/postfix/main.cf;;
|
||||||
|
|
||||||
[Ee])
|
[Ee])
|
||||||
|
echo
|
||||||
echo -e -n "${idsCL[LightCyan]}Username for scity.us domain email: ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Username for scity.us domain email: ${idsCL[Default]}"
|
||||||
read USERNAME
|
read USERNAME
|
||||||
echo
|
echo
|
||||||
@@ -502,7 +503,7 @@ 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
|
||||||
echo "smtp.scity.us ${USERNAME}@scity.us:${PASSWORD}" > /etc/postfx/sasl_passwd
|
echo "mail.scity.us ${USERNAME}@scity.us:${PASSWORD}" > /etc/postfix/sasl_passwd
|
||||||
sudo chmod 600 /etc/postfix/sasl_passwd
|
sudo chmod 600 /etc/postfix/sasl_passwd
|
||||||
sudo postmap /etc/postfix/sasl_passwd
|
sudo postmap /etc/postfix/sasl_passwd
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user