Create a distribution list that contains all the addresses in a domain

Create a distribution list that contains all the active accounts in a Zimbra environment

   KB 21857        Last updated on 2018-04-26  




0.00
(0 votes)


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


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/10/2015
Article ID: https://wiki.zimbra.com/index.php?title=Create_a_distribution_list_that_contains_all_the_addresses_in_a_domain Date Modified: 2018-04-26



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Shanxt
Jump to: navigation, search