Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XFOR: Internet Mail Service Failed to Deliver Message, Error 4117


View products that this article applies to.

This article was previously published under Q230250

↑ Back to the top


Symptoms

The Internet Mail Service may fail to deliver inbound Internet messages if the Character Sets setting is improperly configured. An Event Log entry similar to the following appears in the Windows NT application log:
Event ID: 4117
Source: MSExchangeIMC
Description:
An error was returned from the messaging software the Internet Mail Service uses to process messages on the Microsoft Exchange Server. As a result, the message in spool file Jtmrmaqv failed to be delivered. The message has been moved to the IMCDATA\IN\ARCHIVE directory.
The spool file name may vary from computer to computer.

↑ Back to the top


Cause

The Character Sets setting on Internet Mail Service is improperly configured. This usually happens if the default Character Sets setting was changed.

The setting is on the Internet Mail tab of Internet Mail Service Properties page. The default setting for either MIME or Non-MIME is "Western European (ISO-8859-1)."

This can also occur if antivirus software that is not "Exchange aware" is running on the system. Use of antivirus software that is not "Exchange aware" is highly discouraged.

↑ Back to the top


Resolution

To resolve this problem, you need to reconfigure the Character Sets setting using the following procedure:
  1. Check the 4117 event, locate the spool file name ("Jtmrmaqv" in the above example).
  2. Open this file under Exchsrvr\Imcdata\In\Archive with Notepad.exe.
  3. The majority of this file is in plain text format. It contains the header and body of the inbound message to be delivered. The character set of the message is included in lines similar to:
    Content-Type: text/plain;
    charset="ISO-8859-1"
  4. Open the Exchange Server Administrator program, and open the properties for the Internet Mail Service.
  5. On the Internet Mail tab, reset the character sets to correspond with the character set name you find in step 3. (If this problem only happens to certain domains, you may prefer per-domain setting by clicking the E-Mail Domain button.)
  6. Stop and restart Internet Mail Service.

↑ Back to the top


More information

To test the new setting:
  1. Stop the Internet Mail Service.
  2. Move files under Exchsrvr\Imcdata\In\Archive to Exchsrvr\Imcdata\In.
  3. Restart the Internet Mail Service.
Messages are delivered to corresponding mailboxes and no event 4117 appears in the application log.

↑ Back to the top


Keywords: KB230250, kbprb

↑ Back to the top

Article Info
Article ID : 230250
Revision : 6
Created on : 10/28/2006
Published on : 10/28/2006
Exists online : False
Views : 249