Create a distribution list that contains all the addresses in a domain: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
__FORCETOC__ | __FORCETOC__ | ||
<div class="col-md-12 ibox-content"> | <div class="col-md-12 ibox-content"> | ||
=Create a distribution list that contains all the | =Create a distribution list that contains all the active accounts in a Zimbra environment= | ||
{{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}{{ZCS 8.0}}||}} | {{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}{{ZCS 8.0}}||}} | ||
{{WIP}} | {{WIP}} |
Latest revision as of 10:31, 26 April 2018
Create a distribution list that contains all the active accounts in a Zimbra environment
- This article is a Work in Progress, and may be unfinished or missing sections.
Purpose
Create a distribution list that contains all the addresses in a domain.
Resolution
Run the following from the CLI:
zmprov cddl all@example.com memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(ZimbraAccountStatus=active))' zimbraIsACLGroup FALSE
The 'ZimbraAccountStatus=active' specifies that only active accounts are added. We can similarly add more filters as well.
This can also be done from the admin console:
- Go to Manage > Distribution Lists.
- Click 'New' from the gear icon
- Add a dynamic distribution list name. Don't add members to the list.
- Click "Next" to configure the dynamic DL
- For the 'Member URL' field, select 'ldap:///??sub?(&(objectClass=zimbraAccount)(ZimbraAccountStatus=active))' to create a DL for all active accounts.
Additional Content
- Check the next Wiki article for a extended information about Distribution Lists.