Solved

How to filterQuery-based Distribution Groups???

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
To show how to generate a certificate request 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 Servers >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

630 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