Microsoft Exchange Server 2003 - SMTP Auth Login
Introduction to Microsoft Exchange Server 2003 - SMTP Auth Login
This page explains the precise Microsoft syntax that SMTP needs to login to an Exchange server 2003. Here are SMTP commands that you can try in a telnet session at the cmd prompt. The raw Windows SMTP commands include, Auth Login:, rcpt to: and data.
Topics for Exchange Server 2003 - SMTP Auth Login
Understanding the SMTP and Auth Login rationale
I was amazed at how long it took me to master the SMTP verb Auth Login. Rather than pretending that Auth Login is easy, I am going to go slowly and give you even more instructions than usual. My mission is to explain, in detail, how to send email from the command line. We will open a telnet shell and connect to the Exchange server. Once we receive the 250 OK reply code, we will issue the SMTP verbs to encode the password.
Before you go any further, ask your self, 'do I really need to authenticate?' Could I just try sending email using the plain commands, mail from: and rcpt to:. Another benefit of trying this simpler technique is that you will gain experience of the telnet and SMTP commands before you grapple with Auth Login and encoding. I recommend that you try the plain SMTP commands first.
It is essential that you have access to a base64 encoder. Before you go any further you must be able to encode username and password. Here is where you can get a good base64 encoder: Opinionated.
This part is easy. We are testing that the SMTP service is running on the Exchange 2003 server. Here is your simple command to test the SMTP. From the cmd prompt, type: Telnet server 25. (Where 'server' is the HostName of your Exchange 2003 server.)
What you should see is this.
The main reason to monitor your network is to check that your all your servers are available. If there is a network problem you want an interface to show the scope of the problem at a glance.
Even when all servers and routers are available, sooner or later you will be curious to know who, or what, is hogging your precious network's bandwidth. A GUI showing the top 10 users makes interesting reading.
Another reason to monitor network traffic is to learn more about your server's response times and the use of resources. To take the pain out of capturing frames and analysing the raw data, Guy recommends that you download a copy of the SolarWinds free Real-time NetFlow Analyzer.
This is what should happen when you carefully type: ehlo, then press the Enter key for a carriage return.
What we want to do is logon to our mailbox on the Exchange 2003 server. The SMTP command for this job is: Auth Login. Firstly, you must know your mailbox name and its email address. Naturally, you must know the precise spelling and furthermore, this must be your email domain, not your Active Directory. So, go to Active Directory Users and Computers, user properties, Email Address tab and double check the spelling of your email address.
Username (Mailbox name) = guyt
Email address = firstname.lastname@example.org
Next type just two words: auth login. Naturally, follow with Enter (carriage return).
NTM will produce a neat diagram of your network topology. But that's just the start; Network Topology Mapper can create an inventory of the hardware and software of your machines and network devices. Other neat features include dynamic update for when you add new devices to your network. I also love the ability to export the diagrams to Microsoft Visio.
Finally, Guy bets that if you test drive the Network Topology Mapper then you will find a device on your network that you had forgotten about, or someone else installed without you realizing!
Download your 14 day free trial of SolarWinds Network Topology Mapper
This is where you need to be precise. Type your username in the encoder and then copy the encrypted result into memory. Now be careful, and right-click in the cmd window and select Paste from the short cut menu. For example, guyt encodes to: UGF1bGluZTE= so that is what I pasted.
All you need now is to encrypt your password with the base64 encoder. Once you have the string, copy then paste the password into the SMTP prompt, just as you did with the username.
Let us finish as we started,
by paying attention to detail. There are now 3 key commands to master,
SolarWinds' Network Performance Monitor will help you discover what's happening on your network. This utility will also guide you through troubleshooting; the dashboard will indicate whether the root cause is a broken link, faulty equipment or resource overload.
What I like best is the way NPM suggests solutions to network problems. Its also has the ability to monitor the health of individual VMware virtual machines. If you are interested in troubleshooting, and creating network maps, then I recommend that you try NPM now.
6) Summary of Auth Login in Microsoft Exchange Server 2003
This section shows you how to connect to a Microsoft Exchange server using raw Microsoft SMTP commands. In particular, it explains in detail how to master Auth Login. The key to success is to obtain a base64 encoder for your username and password. As ever, pay attention to detail with the SMTP syntax.