Update linupx-scripts.sh

This commit is contained in:
2022-05-22 15:11:46 -05:00
parent 475eb54b4d
commit 85b6f28f21

View File

@@ -532,6 +532,18 @@ POSTFIX_INSTALL(){
service postfix start
echo -e -n "${idsCL[Yellow]}Send test Alert to (leave blank to not send test): ${idsCL[Default]}"
read TESTEMAIL
if [ "${TESTEMAIL}" != "" ]; then
if [ "${TESTEMAIL}" = "txt" ]; then
TESTEMAIL='9208839613@txt.att.net'
elif [ "${TESTEMAIL}" = "mms" ]; then
TESTEMAIL='9208839613@mms.att.net'
fi
echo "Test Alert Body" | mail -r ${pffromemail}@scity.us -s "Test Alert Subject" $TESTEMAIL
fi
echo ""
echo -e "${Green}Postfix has been Installed${Color_Off}"
if [ ${action-x} ]; then exit 0; fi