Microsoft Knowledge Base Email Alertz

KBAlertz.com: (265139) - This article discusses how to install and enable Simple Mail Transfer Protocol (SMTP) protocol logging in Microsoft Exchange 2000 Server and in Microsoft Exchange Server 2003.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 265139 - Last Review: October 25, 2007 - Revision: 3.3

How to enable SMTP protocol logging in Exchange 2000 Server and in Exchange Server 2003

This article was previously published under Q265139
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/ ) Description of the Microsoft Windows Registry

On This Page

SUMMARY

This article discusses how to install and enable Simple Mail Transfer Protocol (SMTP) protocol logging in Microsoft Exchange 2000 Server and in Microsoft Exchange Server 2003.

MORE INFORMATION

Description of the Protolog.dll file

The Protolog.dll file is a protocol sink that can log SMTP errors, including Xexch50, Exps, and X-Linkstate2 errors, to the application event log. Because the logs are actually events, you are only required to open the application event log to see the protocol level logs that this sink generates.

Installing SMTP protocol logging

Exchange 2000

To install SMTP protocol logging on an Exchange 2000 computer, you must copy the Protolog.dll file to the Program Files\Exchsrvr\Bin folder and then register the .dll file. This procedure registers the Component Object Model (COM) object, and also binds the sink to all existing SMTP virtual servers in the metabase.

The Protolog.dll file is not included with Exchange 2000. To obtain the Protolog.dll file, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)
To register the .dll file, copy the Protolog.dll file to the Exchsrvr\Bin folder and then run the following command at a command prompt:
regsvr32 protolog.dll
Note You must restart the Internet Information Services (IIS) Admin service for the sink to work correctly.

To unregister the Protolog.dll file, run the following command at a command prompt:
regsvr32 /u protolog.dll
Note If you create a new virtual server after you register the .dll file, you must re-register the Protolog.dll file for the sink to work on that virtual server.

Exchange 2003

The Protolog.dll file is installed and registered with Exchange 2003. The file is located in the Exchsrvr\Bin folder.

Available logging levels

Exchange 2000

  • None: Nothing is logged. This is the default.
  • Minimum: Fatal (500 level) SMTP protocol errors are logged. Duplicates are not logged.
  • Medium or Maximum: Transient (400 level) and fatal (500 level) SMTP protocol errors are logged. Duplicates are not logged.
  • Field Engineering: All events are logged, including duplicates.
Note If you set the logging level to Maximum, you receive the same information as when the logging level is set to Medium. No additional benefits are gained by changing the logging level from Medium to Maximum.

Exchange 2003

  • None: Nothing is logged. This is the default.
  • Minimum: Fatal (500 level) SMTP protocol errors are logged. Duplicates are not logged.
  • Medium: Transient (400 level) and fatal (500 level) SMTP protocol errors are logged. Duplicates are not logged.
  • Maximum: Transient (400 level) and fatal (500 level) SMTP protocol errors are logged. Duplicates are logged.
  • Field Engineering: All events are logged, including duplicates.

Setting the logging level

To set the logging level, follow these steps:
  1. Start the Exchange System Manager tool.
  2. If administrative groups are enabled, expand Administrative Groups, and then expand your administrative group.
  3. Expand Servers.
  4. Right-click your Exchange computer, and then click Properties.
  5. Click the Diagnostics Logging tab.
  6. In the Services column, click MSExchangeTransport.
  7. In the Categories column, click SMTP Protocol.
  8. Under Logging level, click the appropriate level.
  9. Click OK.
If you want to enable the field engineering logging level, you must configure a registry value. To do this, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeTransport\Diagnostics
  3. In the right pane, right-click 6 SMTP Protocol, and then click Modify.
  4. In the Value data box, type a value of 7, and then click OK.
  5. Quit Registry Editor.

APPLIES TO
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange 2000 Server Standard Edition
Keywords: 
kbhowto KB265139
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please