Owner of the content within this article is Written by Marc Grote

Similar documents
Internet Technology 2/13/2013

IxLoad Data Mail (SMTP, POP3, IMAP) Features

CS43: Computer Networks . Kevin Webb Swarthmore College September 24, 2015

Collax Mail Server. Howto. This howto describes the setup of a Collax server as mail server.

Chapter 2 Application Layer. Lecture 5 FTP, Mail. Computer Networking: A Top Down Approach

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP Abstract Message Format. The Client/Server model is used:

Writing for Developers: The New Customers. Amruta Ranade

1 Introduction: Network Applications

Owner of the content within this article is Written by Marc Grote

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP - Message Format. The Client/Server model is used:

Simple Mail Transfer Protocol

How to configure your client

SMTP Servers. Determine if an message should be sent to another machine and automatically send it to that machine using SMTP.

Basic Exchange Setup Guide

Owner of the content within this article is Written by Marc Grote

ing from The E2 Shop System address Server Name Server Port, Encryption Protocol, Encryption Type, SMTP User ID SMTP Password

Setting Up Sharp MX-Color Imagers To Scan To

My FreeScan Vulnerabilities Report

FTP and . Computer Networks. FTP: the file transfer protocol

Internet Technologies Internet Protocols and Services

Emacs SMTP Library. An Emacs package for sending mail via SMTP. Simon Josefsson, Alex Schroeder

Configuring Security for SMTP Traffic

Advanced Settings. Help Documentation

Toll Free: International:

Owner of the content within this article is Written by Marc Grote

Protocolo FTP. FTP: Active Mode. FTP: Active Mode. FTP: Active Mode. FTP: the file transfer protocol. Separate control, data connections

TR-7W Configuration Guide. Before You Start

NODE4 SERVICE DESK SYSTEM

Simple Scan to Setup Guide

Webmail. Setting up your account

Journaling Guide for Archive for Exchange 2007

Implementing MDaemon as an Security Gateway to Exchange Server

HowTo: Logging, reporting, log-analysis and log server setup Version 2007nx Release 3. Log server version 2.0

StarterPlus Mailbox Software Setup Guide

Application Example: WWW. Communication in the WWW. WWW, HTML, URL and HTTP. Loading of Web Pages. The Client/Server model is used in the WWW

Open Thunderbird. To set up an account in Thunderbird, from the Tools menu select Account Settings; choose account; then click Next.

smtplib SMTP protocol client

CSCI-1680 SMTP Chen Avin

MailStore Server 5.0 Documentation

Owner of the content within this article is Written by Marc Grote

Lab 7: Introduction to Pen Testing (NMAP)

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

JAVAMAIL API - SMTP SERVERS

Understanding SMTP authentication and securing your IBM Lotus Domino 8 server from spam

FTP: the file transfer protocol

Quick Scan Features Setup Guide. Scan to Setup. See also: System Administration Guide: Contains details about setup.

Owner of the content within this article is Written by Marc Grote

The Application Layer. CS158a Chris Pollett May 9, 2007.

Configuring SMTP in Microsoft Exchange 2000 Server. Patricia Anderson Simon Attwell

How to setup your iphone client

Windows Live Mail Setup Guide

Basic Exchange Setup Guide

How To Create A Mailbox In Windows Mail On A Pc Or Mac Or Ipad (For A Mac)

NeoMail Guide. Neotel (Pty) Ltd

Sonian Getting Started Guide October 2008

Client configuration and migration Guide Setting up Thunderbird 3.1

Standard Mailbox Software Setup Guide

Windows Mail POP Instructions - Bloomsburg University Students

How to set up a multifunction device or application to send using Office 365

Steps for: POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) setup on MAC Platforms

Set Up Setup with Microsoft Outlook 2007 using POP3

Owner of the content within this article is Written by Marc Grote

OCS Training Workshop LAB14. Setup

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Update Instructions

DESKTOP CLIENT CONFIGURATION GUIDE BUSINESS

Configuration Task 3: (Optional) As part of configuration, you can deploy rules. For more information, see "Deploy Inbox Rules" below.

Setup Local Mail Server Using Postfix, Dovecot And Squirrelmail On CentOS 6.5/6.4

Installation & Configuration Guide Version 1.0. TekSMTP Version Installation & Configuration Guide

Microsoft Exchange Mailbox Software Setup Guide

Cannot send Autosupport , error message: Unknown User

Issue 2EN. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Mail system components. Electronic Mail MRA MUA MSA MAA. David Byers

SME- Mail to SMS & MMS Gateway with NowSMS Quick Start Guide

Applications and Services. DNS (Domain Name System)

Nokia E90 Communicator support

Configuration Network Management Card-2

Version 1.7. Inbound Integration (POP3 and IMAP) Installation, Configuration and User Guide. Last updated October 2011

You may use port 587 if port 25 is blocked by your internet provider. This does not apply to customers using PolarComm internet.

Introduction. Friday, June 21, 2002

Owner of the content within this article is Written by Marc Grote

PineApp Archive-Secure Quick Installation Guide:

, SNMP, Securing the Web: SSL

Setup Guide. network support pc repairs web design graphic design Internet services spam filtering hosting sales programming

Scan to Quick Setup Guide

Mail agents. Introduction to Internet Mail. Message format (2) Authenticating senders

Outlook Express POP Instructions - Bloomsburg University Students

Quick Scan Features Setup Guide

How to move to your account with MAC Mail

# Constructors $smtp = Net::SMTP->new('mailhost'); $smtp = Net::SMTP->new('mailhost', Timeout => 60);

MPDS Configuration Sheet MS Outlook Express Mail Client

QliqDIRECT Active Directory Guide

Service Overview & Installation Guide

Mail Programs. Manual

Articles Fighting SPAM in Lotus Domino

SMTP Best Practices, Configurations and Troubleshooting on Lotus Domino.

Configuring your client to connect to your Exchange mailbox

3. On the Accounts wizard window, select Add a new account, and then click Next.

DOMAIN CENTRAL HOSTING

Transcription:

Owner of the content within this article is www.msexchange.org Written by Marc Grote www.it-training-grote.de Microsoft Exchange 2003 Using Telnet to connect to Exchange 2003 POP3 mailboxes and using SMTP to send e-mail for troubleshooting purposes Written by Marc Grote - mailto:grotem@it-training-grote.de Abstract In this article I will give you tips for troubleshooting Exchange 2003 POP3 access and SMTP E- Mail transfer using the good old Telnet client. Why do I write an article about POP3 and SMTP troubleshooting with the help of Telnet? Telnet gives you some powerful information about every connection step for POP3 or SMTP processes. Some basic information about POP3 and SMTP POP3 Short for Post Office Protocol, a protocol used to retrieve e-mail from a mail server. Most e-mail applications (sometimes called an e-mail client) use the POP protocol, although some can use the newer IMAP (Internet Message Access Protocol). There are two versions of POP. The first, called POP2, became a standard in the mid-80's and requires SMTP to send messages. The newer version, POP3, can be used with or without SMTP. Source: http://www.webopedia.com/term/p/pop2.html Beginning with Exchange 2003 we have to activate POP3 support after the Exchange installation, because Microsoft has disabled some services for security reasons (POP3 communication is unencrypted per Default but you can use TLS to ensure security). SMTP Short for Simple Mail Transfer Protocol, a protocol for sending e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP. In addition, SMTP is generally used to send messages from a mail client to a mail server. This is why you need to specify both the POP or IMAP server and the SMTP server when you configure your e-mail application. Source: http://www.webopedia.com/term/s/smtp.html

Let s begin Connecting to POP3 Open Telnet (Start Run CMD Telnet) and write the following line: TELNET Servername.Domain.TLD 110 (in our example TELNET London.nwtraders.msft 110). Figure 1: Connecting to your Exchange Server via POP3 +OK - 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:

Figure 2: POP3 communication USER MSEXchangeORG PASS Fake001 LIST RETR 1 The name of the user to connect to the mailbox The password of the user (transmitted unencrypted over the network) Lists all E-Mails in the mailbox 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). Figure 3: EHLO commands 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 displayed in (Figure 3). 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. Figure 4: Write a e-mail through telnet 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 MAIL RCPT DATA RSET VRFY EXPN DSN HELP NOOP TURN ETRN Identifies the Client Specifies Mail Sender The Reciepient of the message The Data part of the message Resets message transmiting Verifies e-mail address Expand a mailing list Delivery Status Notification Displays help NO Operation Mail TURN Extended TURN

VERB QUIT Verbose Mode End SMTP Session Conclusion Connecting to POP3 Mailboxes and sending E-Mails through SMTP with the help of Telnet will give you a good understanding about the functions of these processes. I like Telnet to troubleshoot POP3 and SMTP issues. Related Links POP3 RFC http://www.faqs.org/rfcs/rfc1939.html SMTP RFC http://www.faqs.org/rfcs/rfc821.html Administering POP3/SMTP/IMAP http://www.microsoft.com/technet/prodtechnol/exchange/2000/maintain/13x2kada.mspx