XADM: Update E-Mail Addresses Based on Recipient Policy (318072)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q318072

SYMPTOMS

You may notice that the Recipient Update Service is not stamping some mailboxes.

If you use either the Update Now or the Rebuild option of the Recipient Update Service, the users are still not stamped with e-mail addresses from your recipient policy and no errors are logged in the Application event log.

CAUSE

This behavior can occur if you have cleared the Automatically update e-mail addresses based on recipient policy check box on the object in Active Directory.

MORE INFORMATION

To verify that the Automatically update e-mail addresses based on recipient policy check box is selected, follow these steps:

  1. Start the Active Directory Users and Computers snap-in.
  2. Right-click a mail-enabled user, contact or group, and then click Properties.
  3. Click the E-mail Addresses tab.
Note that the Automatically update e-mail addresses based on recipient policy check box is located on the E-mail Addresses tab. When you create a mail-enabled user, contact or group, this check box is selected automatically (by default). When this check box is selected, e-mail address changes are processed based on the recipient policy's update schedule.

The Recipient Update Service does not update e-mail addresses automatically when the Automatically update e-mail addresses based on recipient policy check box is not selected. That attribute stops the Recipient Update Service from running against the object when this check box is not selected.

The Automatically update e-mail addresses based on recipient policy check box refers to the value of the attribute msExchPoliciesExcluded on the object. If this attribute is not set, it indicates that this check box is selected.

If this value is set to {26491CFC-9E50-4857-861B-0CB8DF22B5D7}, it indicates that the checkbox is not selected.

To clear this check box, set the attribute msExchPoliciesExcluded to {26491CFC-9E50-4857-861B-0CB8DF22B5D7}. To do so:
  • Use ADSI Edit.

    WARNING: If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Exchange 2000 Server, or both. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

    -or-

  • Use the ADSI code:
CONST ADS_PROPERTY_UPDATE = 2
Set obj = getobject("ldapPathToUser")
obj.PutEx ADS_PROPERTY_UPDATE, "msExchPoliciesExcluded", Array("{26491CFC-9E50-4857-861B-0CB8DF22B5D7}")

obj.SetInfo
				
If the value of msExchPoliciesExcluded is set to {26491CFC-9E50-4857-861B-0CB8DF22B5D7}, the following boxes are not being updated by the Recipient Update Service:
  • mail
  • proxyAddresses
  • textEncodedORAddress
  • msExchPoliciesIncluded

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbpending kbprb KB318072