The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Zimbra Tech Center
- Certified
- List all existing distribution list and the respective members
List all existing distribution lists and the respective members
KB 23355
|
Last updated on 2020-06-06
|
Last updated by Heera Singh Koranga
|
|
Verified in: ZCS 9.0
ZCS 8.8
ZCS 8.7
|
|
- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
KB 23355
|
Last updated on 2020-06-6
|
|
|
- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
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
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 »