Article ID: 163033
Article Last Modified on 8/8/2007
256986 Description of the Microsoft Windows Registry
X.400 protocol events, such as submission and delivery reports.
Events related to the use of MTA resources.
Events related to attempted security violations.
Communication among MTA components, between MTAs and between the MTA and XAPI clients such as the store, MSMI, and DXA. This includes RPC use.
Internal debugging trace.
Administration program access to MTA queues and routing information.
The configuration of internal parameters and/or problems in one or more MTA configuration files.
Events related to the MTA's use of the directory.
Events related to the MTA's use of Windows NT functions, such as thread creation and file operations.
Events related to the internal operation of MTA application code. Error events in this category indicate serious problem in the MTA.
Tracks the binary content of protocol messages. Use this category and
Interface to log stack traces and XAPI traces to MTADATA\AP*.LOG.
NOTE: No additional events are logged to the application or EV*.LOGs
when logging is turned up on this category.
Tracks full P1 content (MTA send/receive) and fully encoded P1 APDU
(communication between remote MTAs) to diagnose interoperability or
conformance problems. Use this category and X.400 Service to log binary
data to MTADATA\BF*.LOG.
NOTE: No additional events are logged to the application or EV*.LOGs
when logging is turned up on this category.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Parameters\TextEventLogging
163032 XCON: Description of Diagnostics Logging for MTA
' ------------------------------------------------------------------------ ' Q153188 Script to enable bf*.log, ev*.log and ap*.log for 5.x MTA ' ------------------------------------------------------------------------ ' Copyright (C) 1996-2000 Microsoft Corporation ' ' You have a royalty-free right to use, modify, reproduce and distribute ' the Sample Application Files (and/or any modified version) in any way ' you find useful, provided that you agree that Microsoft has no warranty, ' obligations or liability for any Sample Application Files. ' ------------------------------------------------------------------------Windows Scripting Host must be installed. To do so, visit the following MSDN Web site: NOTE: In the code that follows, "HKLM" means "HKEY_LOCAL_MACHINE".
Choice = Inputbox("Enter 1 to make the changes or 2 to set them to defaults")
Select Case Choice
Case "1"
L_Welcome_MsgBox_Message_Text = "This script configures the MTA to provide bf, ev and ap logs for advanced analysis."
L_Welcome_MsgBox_Title_Text = "Modifying registry values"
Call Welcome()
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters\Text Event Log to 1"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters\Text Event Log" , 1, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\X.400 Service to Level 4"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\1 X.400 Service" , 4, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\APDU to Level 4"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\12 APDU" , 4, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\Interface to Level 5"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\4 Interface" , 5, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\Interoperability to Level 5"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\11 Interoperability" , 5, "REG_DWORD"
Case "2"
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters\Text Event Log to 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters\Text Event Log" , 0, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\X.400 Service to Level 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\1 X.400 Service" , 0, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\APDU to Level 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\12 APDU" , 0, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\Interface to Level 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\4 Interface" , 0, "REG_DWORD"
WSHShell.Popup "Setting value HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\Interoperability to Level 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Diagnostics\11 Interoperability" , 0, ??
Additional query words: event log application
Keywords: kbinfo KB163033