Update linupx-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user