XIMS: Cannot Send Mail After Re-Installing the IIS SMTP Service
适用于
This article was previously published under Q290290
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 Description of the Microsoft Windows Registry
SYMPTOMS
After you re-install the Simple Mail Transfer Protocol (SMTP) service or re-install Internet Information Services (IIS) on a Microsoft Windows 2000-based computer, mailboxes on that server may no longer be able to send and receive mail from each other.
If there are other servers in the routing group, those servers can send mail to each other, but not to or from the server that is experiencing this issue. If a user attempts to send mail to a mailbox on the server that is experiencing this issue, the user receives a non-delivery report (NDR) that is similar to the following NDR:
-----Original Message-----
From: System Administrator
Sent: Tuesday, February 20, 2001 6:04 PM
To: Ops, Global
Subject: Undeliverable: Test Message
Your message did not reach some or all of the intended recipients.
Subject: Test Message
Sent: 2/20/2001 6:04 PM
The following recipient(s) could not be reached:
Ops, Global on 2/20/2001 6:04 PM
The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
server.domain.com #5.0.0
If there is an SMTP connector on the Exchange 2000 server that is experiencing this issue, the following error message may be logged in the System log:
Event: 4000
Source: smtpsvc
Description: Message delivery to the remote domain " adatum.com' failed. The error message is unable to bind to the destination server in dns.
Your mail may also seem to disappear. If you check the Exchsrvr\Mailroot\Vsi 1\Badmail folder, you should find the missing mail messages. In this case, the reason that mail cannot be delivered is often C0040557 (0xC0040557). You can verify that this is the cause of the issue by connecting to the server that is experiencing this issue as follows:
- Open a command prompt window, and then type TELNET SERVERNAME 25.
- Type CTRL+], and then type SET LOCAL_ECHO.
- Press the ENTER key once to return to the telnet session.
- Type EHLO, and then press the ENTER key.
The session looks like the following session:
220 server.domain.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.1600 ready at Wed, 21 Feb 2001 10:00:18 -0500
ehlo
250-server.domain.com Hello [192.168.10.5]
250-TURN
250-ATRN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
The following additional command verbs for the SMTP service in Microsoft Exchange 2000 Server or Microsoft Exchange Server 2003 are not present:
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-XEXCH50
250-X-LINK2STATE
CAUSE
This issue can occur if the SMTP service for Windows 2000 has been re-installed, but the Exchange Server SMTP service extensions have not been restored.
RESOLUTION
To resolve this issue:
- Make sure that the SMTP service is installed.
- If the Windows 2000 service pack files are not on the computer, you may have to reapply the service pack. Verify that the SMTP service is the correct service pack version (Windows 2000 Service Pack 1 [SP1] or later) by checking the properties of Smtpsvc.dll in the following folder:
%SystemRoot%\System32\Inetsrv
- Re-install Exchange Server by running Setup and choosing the REINSTALL option. This backfills any missing files and metabase entries and does not affect the Exchange Server computer settings or mailboxes.
- Reapply any Exchange Server service packs or hotfixes.
In some situations, you might also need to follow the steps in the following Microsoft Knowledge Base article:
277770 XADM: Event 7000 Occurs When Attempting to Start Exchange Service
If SMTP was the only IIS component that was reinstalled, then for Exchange 2000 SP2 or later you can use the SMTP Reinstall Tool (Smtpreinstall.exe) to restore the missing Exchange 2000 ESMTP verbs and the Exchange 2000 versions of the files. Smtpreinstall.exe is in the \Server\Support\Utils\i386 folder on the Exchange 2000 SP2 or later CD. Run Smtpreinstall.exe in place of the earlier Steps 3 and 4.
To run Smtpreinstall.exe:
- Copy Smtpreinstall.exe to the \Exchsrvr\Bin folder.
- Run Smtpreinstall.exe from that folder.
- Restart the computer when you receive the prompt.
The information in this article applies to:
- Microsoft Exchange 2000 Server
- Microsoft Exchange 2000 Enterprise Server
- Microsoft Exchange Server 2003 Enterprise Edition
- Microsoft Exchange Server 2003 Standard Edition
Last Reviewed: |
6/30/2004 (5.0) |
Keywords: |
kberrmsg kbExchange2000SP2Fea kbprb KB290290 |