Telnet with Exchange 5.5

munruss

Golden Member
May 4, 2001
1,104
0
76
I am looking for a link that will demostrate how I can telnet into my exchange server to send and receive messages and also to trouble shoot.

does anyone have any links that can help me out?
 

aspitzer

Member
Jul 9, 2001
187
0
0
unfortuatly windows is not really a "remotely usable" os... there is not a whole lot you can do with a windows box from telnet... most applications are GUI bases, so when you run them from a telnet session, a gui pops up on the machines monitor... this is not very helpful...


there are a bunch of 3 party utilities that have been ported from unix to windows (sendmail, elm etc...) that you could install to add functionality from the command line....

You are probably better off installing PC Anywhere or VNC and "remote GUI" into the box instead...

ANYHOW:

####MANUALLY SEND A MESSAGE VIA SMTP######

telnet <hostname.com> 25

>220 hostname.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2650.21) ready

helo
>250 OK

mail from: test@hostname.com
>250 OK - mail from <test@hostname.com>

rcpt to: test2@hostname.com
>250 OK - Recipient <test2@hostname.com>

data
>354 Send data. End with CRLF.CRLF

this is
a test of the
mail system.
.
>250 OK

quit
>221 closing connection




#####MANUALLY GET A MESSAGE VIA POP3######
telnet <hostname.com> 110
+OK Microsoft Exchange POP3 server version 5.5.2650.23 ready

user <username>
+OK

pass <passwd>
+OK User successfully logged on

list
+OK
1 896
.

retr 1
Received: by HOSTNAME.COM
id <01C1271F.8E26E94E@HOSTNAME>; Fri, 17 Aug 2001 09:21:42 -0400
Message-ID: <2BE8B4AFFDACD41186E300E018C30987352C43@EXCHANGE01>
From: System Administrator <postmaster@hostname.com>
To: <ASpitzer@hostname.com>
Subject: test
Date: Fri, 17 Aug 2001 09:21:42 -0400

this is
a test of the
mail system.

.


quit
+OK Microsoft Exchange POP3 server version 5.5.2650.23 signing off