diff --git a/install-postfix.sh b/install-postfix.sh index 28d90bb..d4b0458 100755 --- a/install-postfix.sh +++ b/install-postfix.sh @@ -87,9 +87,9 @@ case "$choice" in read TESTEMAIL if [ "${TESTEMAIL}" != "" ]; then - if [ "${TESTEMAIL}" = "push" ]; then + if [ "${TESTEMAIL,,}" = "push" ]; then TESTEMAIL='b3upzaom7a@pomail.net' - elif [ "${TESTEMAIL}" = "mms" ]; then + elif [ "${TESTEMAIL,,}" = "mms" ]; then TESTEMAIL='9208839613@mms.att.net' fi [ "$(ip route | awk '/default/ { print $5 }')" == "link" ] && HIP=$(ip addr show $(ip route | awk '/1 dev eth0/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) ||