List all existing distribution list and the respective members

Revision as of 05:48, 17 August 2017 by Nbhagwat (talk | contribs) (Created page with "===<h1>List all existing distribution list and the respective members</h1>=== <hr> <br> <h2>Problem:</h2> How to list all existing distribution lists and their respective me...")

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

List all existing distribution list and the respective members



Problem:

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

Solution:

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.


"Aarti Shah"

<ashah@zimbra.com>

Jump to: navigation, search