Solved

How to filterQuery-based Distribution Groups???

Posted on 2007-04-02
1
918 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
[X]
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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

734 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