Solved

How to filterQuery-based Distribution Groups???

Posted on 2007-04-02
1
914 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

Does Powershell have you tied up in knots?

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a User Mailbox 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 >> Mailb…
In this video we show how to create a Shared Mailbox 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 >> Sha…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now