Update install-postfix.sh

This commit is contained in:
2023-12-13 21:50:32 -06:00
parent 5a2c087fae
commit 50dfe3a0b6

View File

@@ -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) ||