Yibaodian article -- how to manage exchange server 2013 dynamic distribution groups

Source: Internet
Author: User
Tags email account

The preceding distribution group and Security Group share a common feature that their members are static. For example, if a user's email account is added to a distribution group or security group, it will always belong to this group regardless of the object attributes. In addition, if you want to add a user to a distribution group or security group, you must add the user through a specific addition operation (either by adding an administrator or by applying for a user ).

Is there a possibility that, as user attributes change, the department or contact address of the user has changed, the user will automatically join or change the group to which the user belongs? Of course, Exchange Server 2013 can meet this requirement very well and can be achieved through the "Dynamic Distribution Group" function. For example, there are two departments: Sales Department and Marketing Department. To manage user group emails flexibly and conveniently, a dynamic distribution group can be established based on the departments in the user attributes. Therefore, two dynamic distribution groups, sale and market, are created to set the attribute values for "department" recognition. An employee is now in the sales department and is now transferred to the Marketing Department, the user email account of the employee will be automatically changed to a member in the market dynamic group, so as to avoid manual changes by the user or the administrator.

In this document, the dynamic distribution group can be understood as a filter with the email address enabled. After receiving the email sent to it, you can run the filter to find the recipient object matching the filter in the Active Directory, then allocate emails to these objects.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/E2/wKiom1OpexHhlrXCAAS9XfA5bN8927.jpg "Title =" 11.png" alt = "wkiom1opexhhlrxcaas9xfa5bn8927.jpg"/>

1. Create a Dynamic Distribution Group through EAC

1. Access https: // exchange-server (FQDN)/ECP through IE to open EAC. In the exchange management center window, click "recipients" in the navigation bar, select "group" in the navigation bar of the right window, click "+", and select "Dynamic Distribution Group" from the drop-down menu ".

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/30/E1/wKioL1OpevXg7gPyAAGDbeQa6po706.jpg "Title =" 1.png" alt = "wkiol1opevxg7gpyaagdbeqa6po706.jpg"/>

2. In the new dynamic distribution group window, define the "display name" and "alias" of the Distribution Group ". Like the distribution group, the "alias" directly affects the email address of the Dynamic Distribution Group.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/E2/wKiom1OpezHRVrU1AAH6Kj0aweE328.jpg "Title =" 2.png" alt = "wkiom1opezhrvru1aah6kj0awee328.jpg"/>

What is not available with the distribution group and Security Group is that a filter must be defined here to filter the recipients that are suitable for the group conditions. The default value is "all recipient types", which can be modified as needed. For example, select only mailbox users, that is, "users with exchange mailboxes ". Then, click "add rule" and select a filter-based Attribute value from the drop-down list.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/30/E2/wKiom1Ope0fiBf7FAAINkzqIq3o574.jpg "Title =" 3.png" alt = "wkiom1ope0fibf7faainkzqiq3o574.jpg"/>

The property values of recipient objects that can be used here include:

"Recipient container" (that is, the ou or group container where the recipient object is located in the Active Directory), "province/city/Autonomous Region", "company", "department", and "Custom Attributes" 1 to 15.

Select the attribute value to be used for filtering, and click "input statement..." on the right ...", In the displayed "specify words or phrases" dialog box, add a keyword as a filter condition.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/E1/wKioL1Ope03wM9nfAAG28gJOjZ8926.jpg "Title =" 4.png" alt = "wkiol1ope03wm9nfaag28gjojz8926.jpg"/>

For the same rule, these keywords are the "or" relationship. Finally, click "save" to create a dynamic distribution group.

A Dynamic Distribution Group with "custom attribute 1" as "departmentmanager" filtered by all mailbox users is created.

3. UseGet-dynamicdistributiongroupYou can obtain information about a dynamic distribution group. For example, you need to view the members of the current dynamic distribution group:

$ Dm = Get-dynamicdistributiongroup "departmentmanager"

Get-recipient-recipientpreviewfilter $ DM. recipientfilter

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/30/E2/wKiom1Ope5fxVVHYAAC7tCmiXx0357.jpg "Title =" 8.png" alt = "wkiom1ope5fxvvhyaac7tcmixx0357.jpg"/>

4. You can use new-dynamicdistributiongroup to create a dynamic distribution group through EMS. Create a dynamic distribution group that contains all mailbox users. Note that if alias is not specified, the alias uses name by default.

New-dynamicdistributiongroup-includedrecipients mailboxusers-name "allmailuser"

Get-dynamicdistributiongroup "allmailuser" | FL name, alias, emailaddresses

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/30/E2/wKiom1Ope6XxyY6wAACh-oSllAs403.jpg "Title =" 7.png" alt = "wKiom1Ope6XxyY6wAACh-oSllAs403.jpg"/>

5. verify whether the member is included

$ AMU = Get-dynamicdistributiongroup "allmailuser"

Get-recipient-recipientpreviewfilter $ AMU. recipientfilter

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/30/E1/wKioL1Ope4rRxWKpAAEWElfzx00323.jpg "Title =" 6.png" alt = "wkiol1ope4rrxwkpaaewelfzx00323.jpg"/>

6. Use the mapi client to find the new dynamic distribution group in the global address book.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/E1/wKioL1Ope5Xz-TQdAAKLTmjGIqE736.jpg "Title =" 10.png" alt = "wKioL1Ope5Xz-TQdAAKLTmjGIqE736.jpg"/>

2. manage existing dynamic distribution groups

You can double-click the distribution group you want to configure in the EAC to manage the existing Dynamic Distribution Group. Most tabs of this window are similar to those of the Distribution Group, so we will not describe them here. This document only describes the different tabs-"member identities ".

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/E2/wKiom1Ope9njve5kAAKEJMcR7sk689.jpg "Title =" 5.png" alt = "wkiom1ope9njve5kaakejmcr742589.jpg"/> here is used to add, delete, and modify existing filter rules, you can add multiple filter rules for a dynamic distribution group. These rules are in the "and" relationship. That is, the recipient's attribute values must meet each rule condition before they can be members of this group.

3. A real case Column

Everyone understands that Microsoft will push patches for this month on Tuesday, the second week of every month. (Let's talk about it: it will come on time every month, and there will be two dates .) Therefore, enterprises need to arrange patch updates for Exchange servers, which may require server restart. If there is no cost for high availability, the service can be stopped. However, before maintaining different servers, you need to notify the users who store mailboxes on the mailbox server by email in advance. For example, if there are multiple mailbox servers, it is clear that smart administrators generally do not choose to maintain all these servers in the early morning of the same day. The common practice is to maintain one or more servers in a day, so as to minimize the impact on users at a time.

The problem arises. For example, if you need to maintain the server "ex01" today, You need to notify all mailbox users on this server in advance. If you need to maintain the server "ex02" tomorrow, you also need to notify in advance. Besides, you cannot notify all users at one time, which may cause discomfort to all users. However, over time, the mailbox users in each mailbox server are also changing. The most important thing is that this is not a one-time task, but a monthly task.

The solution is to create a dynamic distribution group for different servers. The filter condition is that the server where the specified mailbox user is located is the specified server.

Because EAC does not support "server" when creating a dynamic distribution group, it can only be created through EMS:

New-dynamicdistributiongroup-name "Beijing MX Server users"-recipientfilter {(recipienttypedetails-EQ 'usermailbox'-And servername-EQ 'ex01 '))}

Get-dynamicdistributiongroup "Beijing MX Server users" | FL name, alias, emailaddresses

$ Bmxsu = Get-dynamicdistributiongroup "Beijing MX Server users"

Get-recipient-recipientpreviewfilter $ bmxsu. recipientfilter

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/30/E2/wKiom1Ope-vhAFUsAAJXiyxEH8g596.jpg "Title =" 9.png" alt = "wKiom1Ope-vhAFUsAAJXiyxEH8g596.jpg"/>

This article describes:

Operating system version: Windows server2012 r2 datacenter Edition

Email system version: Exchange server2013 SP1 Enterprise Edition

 

This article from "fat brother Technology Hall" blog, please be sure to keep this source http://liulike.blog.51cto.com/1355103/1430496

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.