Telnet port 25 / Telnet SMTP commands / Check SMTP
Port
| 01-Sep-2024
You can check your SMTP Server on SMTP port 25 with the following Telnet commands. Open a command line and type:
If your server is online a connection will be established on
port 25 (SMTP). An Exchange Server answers with the following
output:
214 HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ATRN
ETRN BDAT VRFY
helo myserver.domain.com # if nothing
happens, repeat this
250 mailserver.domain.com
Hello [10.1.11.133]
mail from:<myname@mydomain.com>
250 2.1.0 myname@mydomain.com....Sender OK
rcpt to:<recipientname@mydomain.com>
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
subject: This is a test mail
to: recipientname@mydomain.com
This is the text of my test mail.
.
250 2.6.0 <exchange.domain.com> Queued mail
for delivery
quit
The better way to check SMTP port 25 (free
command line tool, no installation required)
C:\Users\admin>portcheck -t smtp.office365.com 25 smtp.office365.com - Port 25 - OPEN - 30ms smtp.office365.com - Port 25 - OPEN - 34ms smtp.office365.com - Port 25 - OPEN - 40ms smtp.office365.com - Port 25 - OPEN - 47ms smtp.office365.com - Port 25 - OPEN - 30ms smtp.office365.com - Port 25 - closed smtp.office365.com - Port 25 - closed smtp.office365.com - Port 25 - closed smtp.office365.com - Port 25 - closed smtp.office365.com - Port 25 - OPEN - 30ms smtp.office365.com - Port 25 - OPEN - 29ms smtp.office365.com - Port 25 - OPEN - 41ms smtp.office365.com - Port 25 - OPEN - 33ms smtp.office365.com - Port 25 - OPEN - 38ms smtp.office365.com - Port 25 - OPEN - 32ms smtp.office365.com - Port 25 - OPEN - 34ms smtp.office365.com - Port 25 - OPEN - 30ms |
...or use PingTool - the graphical Port Check Tool
Open/Save configurations
Often used TCP ports: