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 02-24-2009, 08:19 PM
Senior Member
 
Posts: 65
Default [SOLVED] how to mount folder to all user in domain

I want to share folder in share account to all user in domain.
I know below command can do but I need to run many time.
Because I need to change user@domain.com to another.

#zmmailbox -z -m user@domain.com cm --view appointment /sharedcal share@domain.com /Calendar

Distribution can not use.
How I do for run one time.
Please tell me about zimbra have command for solve this problem or not.

Thank you for reply.
Reply With Quote
  #2 (permalink)  
Old 02-25-2009, 02:53 AM
Moderator
 
Posts: 7,928
Default

Something like the following should do it
Code:
su - zimbra
zmaccts | grep "@" | awk '{ print $1 }' | xargs -i zmmailbox -z -m {} cm --view appointment /sharedcal share@domain.com /Calendar
Just make sure that the zmaccts command only shows the email address. I have not tested this !
__________________
Reply With Quote
  #3 (permalink)  
Old 02-25-2009, 07:01 PM
Senior Member
 
Posts: 65
Default

it's work.
Thank a lot.
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.