XFOR: How to Use the Internet Mail Connector in Console Mode
ID: Q181950
|
The information in this article applies to:
-
Microsoft Exchange Server, versions 4.0, 5.0, 5.50
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key"
Help topic in Regedt32.exe.
SUMMARY
The Internet Mail Service (Internet Mail Connector in version 4.0) has a
command line option that allows the service to run in a console window.
This can be useful when you are troubleshooting the Internet Mail Service
because the option provides statistics and message processing sequence,
logged directly to the console window.
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
To run the Internet Mail Service in a console window, do the following:
.- Run the Registry Editor (Regedt32.exe).
- Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
\MSExchangeIMC\Parameters
- From the Edit menu, select Add Value.
- In the AddValue dialog box, type the following key name:
DisplayErrsOnConsole
- From the Data Type box, select REG_DWORD.
- In the DWORD Editor DATA field, enter 100 (or any value over 10), and
in the Data Type, select HEX.
- In Control Panel, double-click Services and confirm that the Internet
Mail Service is stopped.
- Open a command window, and change directories to the <%Exchange Install
Directory%> (usually exchsrvr)\Connect\MSExcImc\Bin.
- Start the Internet Mail Service with the following command and switch:
MSEXCIMC -console
You can also increase the frequency of the statistical updates to the
console by decreasing the value for this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIMC
\Parameters\ConsoleStatFrequency
It is set to 14 by default; lower this to a rate that suits you.
Additional query words:
IMC IMS
Keywords : kbusage XADM XFOR
Version : 4.0,5.0,5.5
Platform :
Issue type : kbhowto