How to change the incoming or outgoing Microsoft Exchange Server settings after the original installation of Microsoft Dynamics CRM is completed (906471)



The information in this article applies to:

  • Microsoft CRM 3.0

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

INTRODUCTION

This article describes how to change the incoming or outgoing Microsoft Exchange Server settings after the original installation of Microsoft Dynamics CRM is completed.

MORE INFORMATION

Incoming

The incoming server is the server where the Microsoft Dynamics CRM Exchange Router is installed. To change the incoming Exchange Server setting to a different server, follow these steps:
  1. Install the Microsoft Dynamics CRM Exchange E-mail Router on the new Exchange server.
  2. Move the Microsoft Dynamics CRM System mailbox from the old server to the new Exchange server. For information about how to move mailboxes, click the following article number to view the article in the Microsoft Knowledge Base:

    821829 Moving mailboxes in Exchange Server 2003

  3. On the domain controller, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  4. Add the new Exchange server's computer account to the PrivUserGroup security group. Remove the old Exchange server's computer account.

Outgoing

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To change the outgoing e-mail server to a different server, follow these steps:
  1. Start Registry Editor. To do this, click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:

    My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM

  3. In that subkey, create the following registry entries if they do not exist. Create only the entries for which you want to change the default settings.
    • Registry entry: SMTPServer.
      Type: String.
      Value description: Outgoing SMTP server name.
      Value example: ExchangeServer.
    • Registry entry: SMTPServerPort.
      Type: DWORD.
      Value description: The port that SMTP will use.
      Value example: 25.
    • Registry entry: SMTPAuthenticate.
      Type: String.
      Value description: To see a list of the values, visit the following Microsoft Web site:Value example: cdoAnonymous.
    • Registry entry: SMTPSendUserName.
      Type: String.
      Value description: Username for Basic Authentication.
      Value example: CRMAdmin.
    • Registry entry: SMTPSendPassword.
      Type: String.
      Value description: Encrypted password. Use the Microsoft.Crm.Tools.EncryptPwd.exe tool to encrypt the password. The tool is located in the Microsoft CRM\Tools folder on the Microsoft Dynamics CRM CD.
    • Registry entry: SMTPUseSSL.
      Type: DWORD with a decimal base.
      Value description: The entry is valid only in clear text authentication mode.
      Value example: 1=SSL (on) and 0=SSL (off).
  4. Make sure that the Simple Mail Transport Protocol (SMTP) service is running on the new server:
    1. Click Start, click Run, type services.msc, and then click OK.
    2. Verify that Simple Mail Transport Protocol (SMTP) appears in the list, and verify that SMTP is running. If it is not, follow steps 4c though 4g.
    3. Click Start, point to Control Panel, and then click Add or Remove Programs.
    4. Click Add/Remove Windows Components.
    5. Click Application Server, click Details, click Internet Information Services (IIS), and then click Details.
    6. Click to select the SMTP Service check box, and then click OK.
    7. Click OK, click Next, and then click Finish.

Modification Type:MinorLast Reviewed:3/21/2006
Keywords:kbMBSemail kbMBSMigrate kbhowto KB906471 kbAudEndUser