I need help with Exchange 2003 Authentication through Telnet
10 pts.
0
Q:
I need help with Exchange 2003 Authentication through Telnet
I'm having trouble getting email to authenticate correctly using Telnet. I can get email using Outlook, OWA, and Sync is working too for mobile phones. The company is going to integrate Unified Messaging using a NEC product. The NEC product needs to be able to login through telnet. When I telnet to the exchange server to make sure that the account I setup for the UC is working correctly. I get the below read out from telnet. I tried other user accounts too and the same issues arise.


220 servername Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at
Thu, 18 Dec 2008 13:22:41 -0500
ehlo
250-servername Hello [192.168.168.101]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM
250-AUTH GSSAPI NTLM
250-X-LINK2STATE
250-XEXCH50
250 OK
mail from: user@domain.com
454 5.7.3 Client does not have permission to submit mail to this server.


Connection to host lost.

Press any key to continue...
ASKED: Dec 18 2008  7:16 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7305 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Open Telnet (Start – Run – CMD – Telnet) and write the following line:

TELNET Servername.Domain.TLD 110 (in our example TELNET London.nwtraders.msft 110).

- The Exchange Server accepts Connection to Port 110

Exchange Server 2003 POP3 - It is a Exchange 2003 Server

Version 6.5.7226.0 - The Exchange Version Number

London.nwtraders.msft - The FQDN of the Exchange Server

These are some helpful information about our connection.

Let’s go further:


What do we see here?

USER MSEXchangeORG – The name of the user to connect to the mailbox

PASS Fake001 – The password of the user (transmitted unencrypted over the network)

LIST – Lists all E-Mails in the mailbox

RETR 1 – Display the selected E-Mail

A very interesting part is the displayed body of the E-Mail. You can see the encapsulation of the E-Mail, MIME type, Message ID and much more helpful information.

POP commands

USER


The User you would like to connect to

PASS


The password of the user (transmitted unencrypted over the network)

STAT


Overview over the POP3 mailbox

LIST


Displays every message in listform

RETR


Displays selected message (RETR 1)

DELE


Deletes selected message (DELE 1)

NOOP


NO Operation

RSET


Undo DELE function

QUIT


End POP3 Session
Connecting to SMTP

Open Telnet (Start – Run – CMD – Telnet) and write the following line:

TELNET Servername.Domain.TLD 25 (in our example TELNET London.nwtraders.msft 25).


SMTP supports two verbs: HELO an EHLO

The HELO or EHLO verbs in SMTP are how the client identifies itself to the server. Clients that use single-label domain names, or domain names that the server cannot look up in the DNS database, are broken or misconfigured.

EHLO is the successor of the HELO verb and supports many more commands. The supported EHLO verbs are different from Mailserver to Mailserver. Exchange 2003 supports the EHLO verbs .

A very important EHLO verb is AUTH. AUTH lists the supported authentication methods for connecting to the SMTP Server. Exchange 2003 supports GSSAPI, NTLM and LOGIN.

Some ISP SMTP servers doesn’t support AUTH. They use SMTP after POP. SMTP after POP authenticates a user through a successful POP3 connection and lets him use the SMTP protocol with the applied credentials through the POP3 connect.

In our example we use the basic HELO command to connect.


What do we see here?

220 London.nwtraders.msft - the Server listens on the given SMTP port

Microsoft ESMTP Mail Service - This Server supports Extended SMTP

Version: 6.0.3790.0 ready - This SMTP Service is hosted by Windows 2003

HELO - Initiates connection (requires domain name by most SMTP

servers)

250 London.nwtraders.msft - Server accepts connections on IP address 192.9.200.116

MAIL FROM: Name@domain.tld - The Sender of the Message

RCPT TO: Name@domain.tld - The Reciepient of the Message

DATA: - Input e-mail data for subject and body

SUBJECT: - the subject line of the message

Enter the data for the message body. At the end of the message click <CRLF> “.” <CRLF>

The message will be transmitted through the destination address through exchange.

SMTP commands

HELO


Identifies the Client

MAIL


Specifies Mail Sender

RCPT


The Reciepient of the message

DATA


The Data part of the message

RSET


Resets message transmiting

VRFY


Verifies e-mail address

EXPN


Expand a mailing list

DSN


Delivery Status Notification

HELP


Displays help

NOOP


NO Operation

TURN


Mail TURN

ETRN


Extended TURN

VERB


Verbose Mode

QUIT


End SMTP Session
Last Answered: Dec 19 2008  1:44 PM GMT by KarlG   7305 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0