Difference between revisions of "List all existing distribution list and the respective members"
m (→List all existing distribution lists and the respective members) |
|||
Line 1: | Line 1: | ||
− | ===<h1>List all existing distribution | + | ===<h1>List all existing distribution lists and the respective members</h1>=== |
+ | |||
+ | <hr> | ||
+ | {{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | ||
+ | {{WIP}} | ||
+ | |||
<hr> | <hr> | ||
<br> | <br> |
Revision as of 08:11, 19 August 2018
Contents
List all existing distribution lists and the respective members
- This article is a Work in Progress, and may be unfinished or missing sections.
Problem:
How to list all existing distribution lists and their respective members from command line?
Solution:
Method 1:
Run the given script on ZCS server to list the distribution list 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 DLs with their members on screen.
zmprov gadl -v
Submitted by: Aarti Shah