Results 1 to 2 of 2

Thread: Updating announcement distribution List to all users

  1. #1
    jafeha is offline Starter Member
    Join Date
    Feb 2014
    Posts
    3
    Rep Power
    1

    Default Updating announcement distribution List to all users

    Hi everybody,

    recently i had to set up a Distribution List for my Zimbra Server for an announcemnt list. The Idea was to be able to inform all our users about our maintenance plans etc. When i wanted to send another email, i already got annoyed updating this list manually and i really did not want to do this every single time again.

    So i decided to write a little zmprov script to update the list and after years of beneft from the Zimbra Community i thought it would be nice to give something back. I placed it on github and here is my first draft and dirty hack of zannounce: https://github.com/jafeha/zimbra_scripts

    I know there might be better way to do this or smarter code to write, but it works for me for the moment and i hope someone else finds it useful.

    Tested on Zimbra FOSS 8.0.6

  2. #2
    oczek is offline Junior Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    3

    Default

    Great
    But rly, isnt better add to cron just one line?
    for x in `/opt/zimbra/bin/zmaccts | grep domain.com | grep -v galsync | grep active | awk '{print $1}'`; do /opt/zimbra/bin/zmprov adlm all@domain.com $x; done
    and always will be add only new account to the list

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 05-04-2010, 06:38 AM
  2. Replies: 1
    Last Post: 12-03-2008, 05:23 AM
  3. Distribution list to all users at domain
    By cirrus_blue in forum Users
    Replies: 9
    Last Post: 05-16-2007, 09:44 AM
  4. Cant add users to distribution list after 4.5 upgrade
    By cangeceiro in forum Installation
    Replies: 8
    Last Post: 02-06-2007, 08:33 AM

Tags for this Thread

Posting Permissions

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