Monday 20 August 2012

testing email with telnet and exchange 2007

Telnet can be useful for testing email. If you get Queued mail for delivery at the end everything looks good. You may get another error which you can use to troubleshoot. Commands I typed are in bold

telnet 11.222.333.444 25 Trying 11.222.333.444...
Connected to 11.222.333.444.
Escape character is '^]'.
220 exch-server-edge.domain.local Microsoft ESMTP MAIL Service ready at Mon, 20 Aug 2012            11:19:32 +0100
EHLO mydomain.com 250-exch-server-edge.domain.local Hello [11.22.33.44] (my ip)
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH
250-X-EXPS NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 XEXCH50
MAIL FROM:myemail@mydomain.com 250 2.1.0 Sender OK
RCPT TO:useryouwant2test@theirdomain.com 250 2.1.5 Recipient OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
SUBJECT: test email
test email please ignore
.

250 2.6.0 <6619443d-79a6-423b-8a27-76d5e2f3d916@exch-server-edge.domain.local l> Queued mail for delivery

No comments:

Post a Comment