From a04fccd925d56cc7195d41b0526145b702e437c2 Mon Sep 17 00:00:00 2001 From: qtwrk Date: Mon, 3 Aug 2020 01:09:45 +0200 Subject: [PATCH] Update cyberpanel.sh add a mail test to check if port 25 is open --- cyberpanel.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index f20cafca4..cb83aa324 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1424,7 +1424,6 @@ fi echo -e "\033[0;32mTCP: 25\033[39m, \033[0;32mTCP: 587\033[39m, \033[0;32mTCP: 465\033[39m, \033[0;32mTCP: 110\033[39m, \033[0;32mTCP: 143\033[39m and \033[0;32mTCP: 993\033[39m for mail service" echo -e "\033[0;32mTCP: 53\033[39m and \033[0;32mUDP: 53\033[39m for DNS service" - mail_test=$(timeout 3 telnet mx.zoho.com 25) if ! timeout 3 telnet mx.zoho.com 25 | grep "Escape" > /dev/null 2>&1 ; then echo -e "Your provider seems \e[31mblocked\033[39m port 25 , E-mail sending may \e[31mnot\033[39m work properly." fi