Tuesday, November 5, 2013

Test smtp with telnet



Something very useful testing smtp connections. You can just telnet can see the email delivery. Take a tcpdump for future reference as well.

server> telnet outlook1.kwire.local 25
Trying 10.21.90.1...
Connected to outlook1.kwire.local.
Escape character is '^]'.
220 kwire.local Microsoft ESMTP MAIL Service ready at Wed, 6 Nov 2013 12:03:59 +0800
helo kwire.com
250 EXCAS01.kwire.local Hello [10.21.1.3]
mail from:sender@kwire.com
250 2.1.0 Sender OK
rcpt to:admin@kwire.com
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>

test mail from kwire
.
250 2.6.0 <67af9592-163d-4c10-8b65-21d582af9cfa@EXCAS01.kwire.com> [InternalId=3278440] Queued mail for delivery
---------------------------------------------------------------------------------------

Note - each new line is with ENTER. 

No comments:

Post a Comment