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 06-08-2009, 04:19 AM
Senior Member
 
Posts: 70
Question Create folder for all accounts

WE use external auth for all our zimbra accounts.. Can admin create a folder for all accounts.
We have mails to be send to all users (mail size is big) which r of not much significance & need to be removed. So can i have only these mail send to that spcific folder created.
Reply With Quote
  #2 (permalink)  
Old 06-08-2009, 12:51 PM
Outstanding Member
 
Posts: 594
Default

Yes admin can create using :

zmmailbox -z -m accountname

cf folder name ( create folder) can be run after that to create folder.

This can be run in script for all users.
Reply With Quote
  #3 (permalink)  
Old 06-09-2009, 12:26 AM
Senior Member
 
Posts: 70
Default

THanks for the response & i really wanted abt creating for users..
Reply With Quote
  #4 (permalink)  
Old 06-09-2009, 01:28 AM
Moderator
 
Posts: 7,911
Default

Will see if I can knock up a little script for you later today; unless one of the other forum members beats me to it
__________________
Reply With Quote
  #5 (permalink)  
Old 06-09-2009, 10:43 PM
Senior Member
 
Posts: 70
Default

Really appreciate ur help & would like to have ur scripts plz..

Thanks
Reply With Quote
  #6 (permalink)  
Old 07-21-2009, 04:35 AM
Senior Member
 
Posts: 70
Default

Dear Uxbod..
Were you able to knock up a script for my query..
Thanks in ADVANCE.

Atleast based on COS can it be done?
Reply With Quote
  #7 (permalink)  
Old 07-21-2009, 07:11 AM
Moderator
 
Posts: 1,531
Default

this should work but i havn't tested it just threw it together

run as zimbra user

Code:
#!/bin/bash
for i in `zmprov gaa`
do
zmmailbox -z -m $i cf <foldername>
done
of course replace <foldername> with the name of the folder you want to create for all accounts.
Reply With Quote
  #8 (permalink)  
Old 09-21-2009, 02:20 PM
Elite Member
 
Posts: 279
Default

Quote:
Originally Posted by bdial View Post
this should work but i havn't tested it just threw it together

run as zimbra user

Code:
#!/bin/bash
for i in `zmprov gaa`
do
zmmailbox -z -m $i cf <foldername>
done
of course replace <foldername> with the name of the folder you want to create for all accounts.
When I try this script, the wrong information is being stored in i. It is storing zmprov gaa as the variable and not what zmprov is returning.

dj
Reply With Quote
  #9 (permalink)  
Old 09-21-2009, 02:32 PM
Special Member
 
Posts: 167
Default

Make sure you're using the backticks (key to the left of number one on a US keyboard at least) and not apostrophes. Some terminals don't copy/paste those symbols very well.
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.