Tuesday, April 13, 2010

Zimbra - List all Members in Distribution List

Somebody asked me how to list all members in a distribution list and put it in a text file. Well, you can't do it in web interface of course, but you can do it using command line. Login as root to your zimbra server and issue this command

zmprov gdl youlist@yourdomain.com > yourtextfile.txt

simple isn't it. Transfer the text file you just created using any secure file transfer software (i.e winscp, filezilla). Then import it to your Excel using delimited to seperate email and non-email column, delete unused column and walllahhhhhhhh...

No comments: