Results 1 to 8 of 8

Thread: "ALL" Mailing list?

  1. #1
    nexus is offline Member
    Join Date
    Jul 2006
    Posts
    11
    Rep Power
    8

    Default "ALL" Mailing list?

    How do I create an "all" mailing list that mails all the user accounts? It needs to be updated dynamically as more users are created.

    Also.... how do I pipe mail delivery to an external script? In my existing qmail installation I just create an alias that references the pipe but i'm not sure how to do that with zcs.

    thanks.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Have a look in bugzilla for the 'all users' mailing list, I seem to remember there's an entry there for that feature. When you find it, vote for it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    nexus is offline Member
    Join Date
    Jul 2006
    Posts
    11
    Rep Power
    8

    Default

    or not....

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    They're called distribution lists in Zimbra, it might be under that category. I'm certain there is an RFE in bugzilla for it (somehwere). You'll have to refine your search, you could also have a search of the forums and see if it's been mentioned there.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    nexus is offline Member
    Join Date
    Jul 2006
    Posts
    11
    Rep Power
    8

    Default

    i've searched and dont see anything. i believe you, i just can't find it.

    given the seemingly trivial nature of this its surprising that it doesnt already exist. to make matters worse i have to manually add each user to the list because the search function is broken in the list mgmt page.

  6. #6
    dlbewley is offline Senior Member
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    61
    Rep Power
    8

    Post workaround

    You can easily do it by hand and even cron it if you like.

    Code:
    su - zimbra
    export DOM=your.domain
    echo "ddl all@$DOM"  > /tmp/all.zmp
    echo "cdl all@$DOM" >> /tmp/all.zmp
    for user in `zmprov gaa | grep -vE '^(admin@|ham\.|spam\.|wiki@)'`;
     do echo "adlm all@$DOM $user" >> /tmp/all.zmp;
    done
    zmprov < /tmp/all.zmp

  7. #7
    NOZIL is offline Special Member
    Join Date
    Nov 2006
    Location
    Bordeaux, France
    Posts
    140
    Rep Power
    8

    Default

    Great piece of code. Thanks a lot.

    And what are the attributes names if i want to change the list display name or if i want to hide it from gal ?

    More generally, where can i find all the attributes names for command line utilities ?

  8. #8
    dlbewley is offline Senior Member
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    61
    Rep Power
    8

    Default

    http://www.zimbra.com/products/NE_Ad...line.14.2.html

    You can set attributes of a list with 'mdl'. For example:

    Code:
    $ zmprov mdl all@$DOM displayname 'All Employees'
    If you don't know what attribute to set, then go into the GUI and set it then pull it out of LDAP to learn the attribute name.

    Code:
    $ zmprov gdl all@$DOM
    # distributionList all@dom.ain memberCount=1
    cn: All Employees
    displayName: All Employees
    mail: all@dom.ain
    objectClass: zimbraDistributionList
    objectClass: zimbraMailRecipient
    uid: sysplan
    zimbraId: 0000-0000-0000-0000
    zimbraMailAlias: all@dom.ain
    zimbraMailForwardingAddress: me@dom.ain
    zimbraMailStatus: enabled
    Then go back to zmprov mdl.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Advice on integrating a mailing list manager?
    By E S in forum Administrators
    Replies: 6
    Last Post: 04-10-2008, 04:06 PM
  2. Mailing Lists
    By rsharpe in forum Installation
    Replies: 7
    Last Post: 01-29-2008, 08:02 AM
  3. Replies: 2
    Last Post: 06-22-2006, 12:34 AM
  4. Create mailing list at user side ?
    By vpoorboy in forum Administrators
    Replies: 1
    Last Post: 03-13-2006, 09:08 AM
  5. Reading attachments problem
    By lenjacobs in forum Users
    Replies: 2
    Last Post: 12-27-2005, 11:24 AM

Posting Permissions

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