Update install-postfix.sh
This commit is contained in:
@@ -21,7 +21,7 @@ case "$choice" in
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
echo -e -n "${idsCL[LightCyan]}Server is 'I'nternal or 'E'xternal? ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Server is 'I'nternal or 'E'xternal? ${idsCL[Default]}"
|
||||||
read -i "I" SERVERLOC
|
read -i "I" -e SERVERLOC
|
||||||
|
|
||||||
if [ "${SERVERLOC}" = "" ]; then SERVERLOC=I; fi
|
if [ "${SERVERLOC}" = "" ]; then SERVERLOC=I; fi
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ case "$choice" in
|
|||||||
[Ee])
|
[Ee])
|
||||||
echo
|
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 -i "systems" USERNAME
|
read -i "systems" -e USERNAME
|
||||||
echo
|
echo
|
||||||
echo -e -n "${idsCL[LightCyan]}Password for scity.us domain email: ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Password for scity.us domain email: ${idsCL[Default]}"
|
||||||
read -s PASSWORD
|
read -s PASSWORD
|
||||||
@@ -53,11 +53,11 @@ case "$choice" in
|
|||||||
|
|
||||||
hostname=`hostname`
|
hostname=`hostname`
|
||||||
echo -e -n "${idsCL[LightCyan]}Server Name: ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Server Name: ${idsCL[Default]}"
|
||||||
read -i "${hostname}" pfhostname
|
read -i "${hostname}" -e pfhostname
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo -e -n "${idsCL[LightCyan]}Default from email (portion before @scity.us): ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Default from email (portion before @scity.us): ${idsCL[Default]}"
|
||||||
read -i "${hostname}" pffromemail
|
read -i "${hostname}" -e pffromemail
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
sed -i "s/<<HOSTNAME>>/${pfhostname}/g" main.cf
|
sed -i "s/<<HOSTNAME>>/${pfhostname}/g" main.cf
|
||||||
|
|||||||
Reference in New Issue
Block a user