-
-
Save MayMeow/8391b4c22cc5fa8172d1dfdfc3f855c3 to your computer and use it in GitHub Desktop.
List account and distribution list details in Zimbra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su - zimbra | |
# list all accounts and print out account name and aliases | |
for i in `zmprov -l gaa` ; do zmprov ga $i zimbraMailAlias ; done | |
# list all distribution lists and any members and/or aliases | |
for i in `zmprov gadl` ; do zmprov gdl $i zimbraMailAlias zimbraMailForwardingAddress ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment