diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 2edf49c..64bfbc9 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -464,8 +464,15 @@ POSTFIX_INSTALL(){ wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.cf -O /etc/postfix/main.cf wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/sender_canonical -O /etc/postfix/sender_canonical - read -p "Server hostname: " pfhostname + hostname=`hostname` + echo -e -n "${idsCL[LightCyan]}Server Name (Default=${hostname}): ${idsCL[Default]}" + read pfhostname echo "" + + if [ "${pfhostname}" = "" ]; then + pfhostname=${hostname} + fi + read -p "Default from email (portion before @scity.us): " pffromemail echo ""