Microsoft KB Archive/251092

From BetaArchive Wiki

Article ID: 251092

Article Last Modified on 10/6/2005


  • Microsoft Commercial Internet System 2.0
  • Microsoft Commercial Internet System 2.5

This article was previously published under Q251092


When you send a message by using an Internet Mail Access Protocol (IMAP) client such as Microsoft Outlook Express or HTML Mail Interface (HMI) Web Mail, you may receive the following error message in the client:

"LOGIN INBOX not accessible, Port 143, Error Number: 0x800CCCD1"

At the same time, you receive the following error message:

"Some of the messages in your outbox folder could not be copied to your sent items folder. Your IMAP server has closed the connection. This may occur if you have left the connection idle for too long. Server Response: Unexpected error --- Server closing connection. Error number 0x800CCCDD"

The last error code is either 0x800CCCD2 or 0x800CCCD1.


This can happen with the IMAP client when:

  • The client is configured to store sent items on the IMAP server.
  • The e-mail message that is being sent is also being copied to the sender.


Do not send e-mail messages that list the sender's name on the carbon copy (CC) line.


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Commercial Internet System service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

   Date         Time    Version       Size      File name     Platform
   27/06/2000   19:39   5.5.1877.52   302,864   Imapsvc.dll   x86
   30/12/1999   18:57   5.5.1877.41    74,000   Mboxapi.dll   x86

   Date         Time    Version        Size      File name     Platform
   27/06/2000   19:38   5.5.1877.52    442,640   imapsvc.dll   alpha
   30/12/1999   19:20   5.5.1877.41    113,424   mboxapi.dll   alpha

This fix provides the following metabase keys:

  • ImapShareRetryAttempts - The number of attempts the IMAP srvice should make to access the file store before failing.
  • ImapShareRetrySleep - The delay, in msec, between the retry attempts.

The following is an example of how to configure these settings on the first IMAP instance:

c:\>smtpmd.exe set imapsvc/1/ImapShareRetryAttempts 16

ImapShareRetryAttempts        : [IF]    (DWORD)  0x10={16}

c:\>smtpmd.exe set imapsvc/1/ImapShareRetrySleep 250

ImapShareRetrySleep           : [IF]    (DWORD)  0xfa={250} 


NOTE: The above example demonstrates the maximum recommended limit.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


Under the conditions that are described in this article, it is possible for the Simple Mail Transfer Protocol (SMTP) service, which is sending the outgoing items, to lock the user's mailbox on the file store while it is delivering the mail. At the same time, the client is attempting to open the mailbox through the IMAP service so that it can store the mail in the Sent Items folder. At this point the IMAP service fails, because it cannot obtain the required lock on the user's mailbox within the file store.

Keywords: kbbug kbfix kbqfe KB251092