Microsoft KB Archive/906471

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

Article ID: 906471

Article Last Modified on 9/5/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



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.



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:  Install the Microsoft Dynamics CRM Exchange E-mail Router on the new Exchange server. 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

 On the domain controller, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers. 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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

The outgoing server is the server where Microsoft Dynamics CRM server is installed. To change the outgoing e-mail server to a different server, follow these steps.

Note The SMTPAuthenticate key, SMTPServer key, SMTPServerPort key, and SMTPUseSSL key are required to send e-mail from Microsoft Dynamics CRM. The other registry keys are optional.  Start Registry Editor. To do this, click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM

</li> 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. <ul> Registry entry: SMTPServer.

Type: String.

Value description: Outgoing SMTP server name.

Value example: ExchangeServer.

Note You must use the netbios name of the server.</li> Registry entry: SMTPServerPort.

Type: DWORD.

Value description: The port that SMTP will use.

Value example: 25.</li> Registry entry: SMTPAuthenticate.

Type: DWORD.

Value description: To see a list of the values, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms526961.aspx

Value example: 0.</li> Registry entry: SMTPSendUserName.

Type: String.

Value description: Username for Basic Authentication.

Value example: CRMAdmin.</li> 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.</li> 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).</li></ul> </li> Make sure that the Simple Mail Transport Protocol (SMTP) service is running on the new server:  Click Start, click Run, type services.msc, and then click OK.</li> 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.</li> Click Start, point to Control Panel, and then click Add or Remove Programs.</li> Click Add/Remove Windows Components.</li> Click Application Server, click Details, click Internet Information Services (IIS), and then click Details.</li> Click to select the SMTP Service check box, and then click OK.</li> <li>Click OK, click Next, and then click Finish.</li></ol> </li></ol>

<div class="references_section">