Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-2006, 03:18 PM
Project Contributor
 
Posts: 88
Default Get contents of distribution list from command line

This post : http://zimbra.com/forums/showthread....ribution+lists

was incredibly useful, because it led me to the zmprov command, which has the most wonderfully documented help.

We often get requests by users to post the contents of some of the internal mailing lists. Using the following command I can output the contents of that list, and eventually through a cron job I will have it update our internal wiki server page to always keep the latest copy of the list around.

Go Zimbra!

zmprov gdl listname@company.com | cut -d: -f 2 | mutt -s "Contents of List" recipient@company.com

This sends the list to a recipient via e-mail.

Last edited by jonnyRo; 10-31-2006 at 11:42 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.