List all existing distribution list and the respective members

Revision as of 12:18, 6 June 2020 by Heera Singh Koranga (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

List all existing distribution lists and the respective members

   KB 23355        Last updated on 2020-06-6  




0.00
(0 votes)

Problem

How to list all existing distribution lists and their respective members from the command line?

Solution

Method 1:

Run the given script on ZCS server to list the existing distribution lists and members of respective distribution lists :

for i in `zmprov gadl` ; do zmprov gdl $i zimbraMailAlias zimbraMailForwardingAddress ; done > /tmp/dlresult

Result would be saved in /tmp/dlresult file.


Method 2:

Run following command, it will print all distribution lists with its members on screen :

zmprov gadl -v  


Submitted by: Aarti Shah
Verified Against: ZCS 9.0,8.8,8.7 Date Created: 2018-08-19
Article ID: https://wiki.zimbra.com/index.php?title=List_all_existing_distribution_list_and_the_respective_members Date Modified: 2020-06-06



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 »


Jump to: navigation, search