Home > Microsoft Exchange Tips > Exchange Server Administration Tips > DevNull SMTP: A dummy SMTP server for testing and troubleshooting
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

DevNull SMTP: A dummy SMTP server for testing and troubleshooting


Serdar Yegulalp
10.05.2005
Rating: -4.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Microsoft Exchange administrators are often drafted into the service of trying to debug connectivity problems between local or remote SMTP servers. SMTP can be complicated and capricious to troubleshoot, so the more details you can have available, the better.

One of the more interesting SMTP tools I've come across lately is called DevNull SMTP, a Java-based "dummy" SMTP server. (The "DevNull" in the name means that e-mails are not actually delivered anywhere; they are simply disposed of.)

If you have connectivity problems between desktops and your SMTP server, you can use DevNull SMTP to examine the conversation between the client and server. For example, you can determine if there's a problem because of a pre-existing network condition -- such as packet sizes or other oddball network problems that aren't apparent at first.

DevNull SMTP works from a browser, or from the command line using a downloaded .JAR file. Once the program is running, click the "Start Server" button to allow it to accept incoming connections. If you want, you can edit the incoming port number and IP addresses that are allowed to connect to the server.

Conversations between the server and clients are logged in the "SMTP log" tab:

8/30/05 1:22 PM - [       1] ************** New Connection from: 127.0.0.1 **************
8/30/05 1:22 PM - [       1] S <-- 220 DevNullSMTP server. We treat your e-mail with care; 8/30/05 1:22 PM
8/30/05 1:22 PM - [       1] C --> HELO Skuld2
8/30/05 1:22 PM - [       1] S <-- 250 localhost. Please to meet you
8/30/05 1:22 PM - [       1] C --> MAIL FROM: <xx@optonline.net>
8/30/05 1:22 PM - [       1] S <-- 250 OK
8/30/05 1:22 PM - [       1] C --> RCPT TO: <xx@optonline.net>
8/30/05 1:22 PM - [       1] S <-- 250 OK
8/30/05 1:22 PM - [       1] C --> DATA
8/30/05 1:22 PM - [       1] S <-- 354 Start mail input; end with <CRLF>.<CRLF>
8/30/05 1:22 PM - [       1] S <-- 250 Message queued for destruction.
8/30/05 1:22 PM - [       1] C --> QUIT
8/30/05 1:22 PM - [       1] S <-- 221 Good bye. Hope to see you again
8/30/05 1:22 PM - [       1] ~~~~~~~~~~~~~~ Connection closed: 127.0.0.1 (16 ms)~~~~~~~~~~~~~~  

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

Do you have comments on this tip? Let us know.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

Microsoft Exchange Server Administration Tools
An introduction to the Exchange Remote Connectivity Analyzer tool
Prevent Microsoft Outlook 2007 from hanging when forwarding email
Testing Unified Messaging connectivity in Exchange 2007
Microsoft Exchange Server 2007 performance tutorial
How to custom-configure a Microsoft Outlook 2007 install using OCT
Top Exchange Server performance monitoring and troubleshooting tools
Search and index Microsoft Outlook 2007 public folders
Executing an .MSP customization file in Microsoft Outlook 2007
Using the NTBackup tool for Exchange Server backup and recovery
Tools to bulk modify Active Directory users in Exchange Server 2003
Microsoft Exchange Server Administration Tools Research

Email Protocols
Exchange Mailbag: POP3 settings and Outlook issues
Preventing duplicate SMTP addresses on Exchange
Email issues after configuring hosted Exchange server on laptop
Looking for a hosted Exchange provider that allows email auditing
Problems receiving email from outside a Exchange Server 2003 domain
Exchange Server 2003 collects email from only specific POP3 domains
Changing email address formats in Exchange Server 2003
Stop personal calendar appointments from showing on Exchange Server
Exchange users receiving email addressed to legacy users
Email mistakenly marked as 'read' when received on BlackBerry devices

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Remote Installation Service  (SearchExchange.com)
TCPMAN  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts