List all existing distribution list and the respective members
List all existing distribution lists and the respective members
How to list all existing distribution lists and their respective members from command line?
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.
Run following command, it will print all distribution lists with it's members on screen :
zmprov gadl -v
Submitted by: Aarti Shah