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

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 02-13-2007, 11:19 AM
Member
 
Posts: 11
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.
Reply With Quote
  #2 (permalink)  
Old 02-13-2007, 11:26 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #3 (permalink)  
Old 02-13-2007, 11:33 AM
Member
 
Posts: 11
Default

or not....
Reply With Quote
  #4 (permalink)  
Old 02-13-2007, 11:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #5 (permalink)  
Old 02-20-2007, 11:00 AM
Member
 
Posts: 11
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.
Reply With Quote
  #6 (permalink)  
Old 02-21-2007, 04:56 PM
Senior Member
 
Posts: 61
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
Reply With Quote
  #7 (permalink)  
Old 02-22-2007, 07:49 AM
Special Member
 
Posts: 137
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 ?
Reply With Quote
  #8 (permalink)  
Old 02-22-2007, 11:31 AM
Senior Member
 
Posts: 61
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.
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.