O'Reilly logo

Exchange Server Cookbook by Devin L. Ganger, Missy Koslosky, Paul Robichaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5.13. Creating Query-Based Distribution Groups

Problem

You want to create a mail-enabled distribution group that automatically updates its membership based on rules you specify.

Solution

Using a graphical user interface

  1. Log on to any machine in your domain that has the Exchange management tools installed.

  2. Open the ADUC snap-in (Users and Computers.msc).

  3. Navigate to the domain and container (or OU) that you want to host the new group.

  4. Right-click the target container and choose the New Query-based Distribution Group command.

    Tip

    You can only create and use query-based distribution groups when your Exchange organization is in native mode and has Exchange 2000 SP3 or later on all servers. Your global catalog servers can be running Windows 2000 (with the DynamicDLPageSize key set; see MS KB 822897) or Windows Server 2003. If you try to perform step 4 while your organization is in mixed mode, you'll get a polite error dialog explaining that you must go native before creating any QDGs; if you don't adjust DynamicDLPageSize, you may find that QDGs aren't reliably expanded.

  5. When the New Object - Query-based Distribution Group dialog appears, enter a name for the QDG; optionally, you can enter a separate alias (but if you don't, the name will be used as the alias). Click Next.

  6. The filter specification dialog (see Figure 5-5) will appear:

    • Use the Change button to select the container scope that the QDG is restricted to; by default, the QDG will be restricted to the Users container in the domain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required