Testing your Exchange Server Using Telnet

Very usefull, when testing SMTP connectivity, found that it still works with Exchange 2007.

Windows Vista/7 you need to install Telnet, or use putty

telnet ExchangeServer 25

Then Enter this command

helo DomainName<ENTER>

Response

205 OK

Enter the following

mail from: YourSourceEmail@domain.com<ENTER>

Response

250 OK - mail from YourSourceEmail@domain.com

Enter the following

rcpt to: RecipientEmail@domain.com<ENTER>

Response should be the following:

250 OK - Recipient RecipientEmail@domain.com

Enter the following:

data <ENTER>

response

354 Send data.  End with CRLF.CRLF

Enter the following

To: <recipient's display name><enter>
From: <your display name><enter>
Subject: <Subject field of Email message><enter>
<Enter you body text><enter><enter> . <enter>

Response

250 OK

at this point an e-mail should be sent you your destination address.

Advertisements

About Paul Cardelli, CISSP
Cyber Security Analyst, and computer guru

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: