17.22. Creating an Address List


You want to create an address list.


Using a graphical user interface

  1. Open the Exchange System Manager (ESM) snap-in.

  2. In the left pane, browse to the Recipients All Address Lists container.

  3. Right-click on the All Address Lists container and select New Address List.

  4. Enter the address list name.

  5. Click on Filter Rules, configure the filter settings, and click OK.


    The filter should be a standard LDAP filter—e.g., (&(objectcate-gory=user)(homeMDB=*)( employeeType=FT)).

  6. Click Finish.

Using a command-line interface

First, create an LDIF file called add_al.ldf with the following contents:

dn: CN=<Address List Name>,<ParentDN> 
changetype: add
cn: <Address List Name>
displayName: <Address List Name>
objectClass: addressBookContainer
purportedSearch: <LDAP Filter>
systemFlags: 1610612736

Replace <Address list Name> with the name of the address list and <ParentDN> with the distinguished name of the Address Lists container in Active Directory (e.g., cn=All Address Lists, cn=Address Lists Container, cn=RALLENCORPMAIL, cn=Microsoft Exchange, cn=Services, cn=Configuration, dc=rallencorp, dc=com). Then, run the following command:

>ldifde -i -f add-al.ldf

Using VBScript

' This code creates an Address List.
strParentDN  = "<DN to All Address Lists Container>" ' e.g., CN=All Address Lists,CN=Address Lists Container, ' CN=RALLENCORPMAIL,CN=Microsoft Exchange, ' CN=Services,CN=Configuration,DC=rallencorp,DC=com strObjClass = "addressBookContainer" ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.