Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to filterQuery-based Distribution Groups???

Posted on 2007-04-02
1
916 Views
Last Modified: 2012-06-21
Hi,
I am trying to create filters/exceptions to a Query-based Distribution Group without moving the individual from the OU.  

My Setup:
Windows 2003 Server - Standard
Exchange 2003 Server - Enterprise Edition

Query-based Distribution Group

LDAP filer:
(&(!cn=SystemMailbox{*})(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))) )))

I want to exclude certain mailboxes/email addresses from the Query-based Distribution Group.  Is this possible?  If so, how can I accomplish this?  Thanks in advance for all your help.

Bob
0
Comment
Question by:dgriffit55
1 Comment
 
LVL 14

Accepted Solution

by:
Erik Pitti earned 250 total points
ID: 18840147
You can use the Exchange extension attributes (extensionattribute1-extensionattribute15) to set a property on those accounts you wish to include or exclude and edit the LDAP filter to take those fields into account.

Example LDAP filter:

(&(!cn=SystemMailbox{*})(& (mailnickname=*)(objectClass=user)(extensionAttribute15=list1_include))
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question