Results 1 to 9 of 9

Thread: Create folder for all accounts

  1. #1
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    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.

  2. #2
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    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.

  3. #3
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Default

    THanks for the response & i really wanted abt creating for users..

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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

  5. #5
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Default

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

    Thanks

  6. #6
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    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?

  7. #7
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    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.

  8. #8
    dljordaneku is offline Elite Member
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    7

    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

  9. #9
    chauvetp is offline Elite Member
    Join Date
    Apr 2008
    Location
    New Paltz, NY
    Posts
    335
    Rep Power
    7

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  2. Zimbra + Funambol Sync4j Code
    By KevinH in forum Mobility
    Replies: 563
    Last Post: 01-16-2010, 02:20 AM
  3. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 01:55 AM
  4. Error when Using Outlook PST Importer
    By chh in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 01-19-2009, 05:20 AM
  5. Replies: 3
    Last Post: 08-11-2007, 12:40 PM

Posting Permissions

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