Create a distribution list that contains all the addresses in a domain: Difference between revisions

(Created page with "{{WIP}}{{Article Infobox|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} =Create a distribution list that contains all the addresses in a domain= ==Purpose== Create a distribu...")
(No difference)

Revision as of 14:26, 23 April 2015

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6 ZCS 8.5 Article ZCS 8.5 ZCS 8.0 Article ZCS 8.0


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

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: 2015-04-23



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 Jorge de la Cruz
Jump to: navigation, search