Results 1 to 1 of 1

Thread: Get contents of distribution list from command line

  1. #1
    Join Date
    Jan 2006
    Posts
    88
    Rep Power
    9

    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 12:42 PM.

Similar Threads

  1. Distribution List
    By tbullock in forum Users
    Replies: 6
    Last Post: 01-24-2008, 10:25 PM
  2. Distribution List
    By premoddev in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 05:28 AM
  3. Reply To for Distribution List
    By alivebyscience in forum Administrators
    Replies: 3
    Last Post: 10-28-2006, 11:35 AM
  4. Orphaned alias for a distribution list
    By area in forum Administrators
    Replies: 0
    Last Post: 09-17-2006, 09:22 PM
  5. Distribution list problem
    By achow in forum Users
    Replies: 1
    Last Post: 05-15-2006, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •