View Single Post
  #3 (permalink)  
Old 10-09-2007, 10:24 AM
glitch23 glitch23 is offline
Special Member
 
Posts: 115
Default

Funny enough I prefer the ldap search query over the zmprov's method since usually the people who ask for such information do not need to know all the information the it provides.

Code:
zmprov gadl > /tmp/distlist.tmp
for list in `cat /tmp/distlist.tmp`; do  
zmprov gdl $list > /home/zimbra/temp/$list; 
done
Which will give you a directory full of text files for each distribution list.

Which I might now modify with the ldap queries.
__________________
Because we all can't be geniuses, I'll go first.
Reply With Quote