Results 1 to 6 of 6

Thread: Adding shares from command line

  1. #1
    Join Date
    Nov 2008
    Location
    Helsinki
    Posts
    2
    Rep Power
    7

    Default Adding shares from command line

    Ok, well we are migrating all the shared mailboxes to shared folders, and there is just too many to do manually. The only (major) issue I have, is i cant seem to do the whole sharing aspect from the command line, giving certain users the ability to administer their new shared folder. Can someone give me a valid solution to this clearly incorrect command?

    zmmailbox -z -m shared@domain.com mfg /folder@domain.com account first.last@domain.com rwidax

    Any help would be appreciated. I have tried a number of methods based on the poor command reference, so i am i suppose lost at this point.

    Thanks!

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    the commands are documented pretty well with zmmailbox help

    why do you have it as /folder@domain.com ? I think it should just be

    zmmailbox -z -m shared@domain.com mfg /folder account first.last@domain.com rwidax

  3. #3
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    do you get any errors? I just tried this myself and it seemed to work fine didn't have to escape the @ or anything.

    Code:
    zimbra@server:~> zmmailbox -z -m bdial@domain.com cf /folder@domain.com
    26368
    zimbra@server:~> zmmailbox -z -m bdial@domain.com mfg /folder@domain.com account otheruser@domain.com rwidax
    zimbra@server:~> zmmailbox -z -m bdial@domain.com gfg /folder@domain.com
    Permissions    Type  Display
    -----------  ------  -------
         rwidxa  accoun  otheruser@domain.com

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Please http://www.zimbra.com/forums/announc...html#post62754 aswell so we know which version of ZCS you are running

  5. #5
    Join Date
    Nov 2008
    Location
    Helsinki
    Posts
    2
    Rep Power
    7

    Default

    No, there are no errors, the problem is that there is no acceptance email either, so I can't actually see the share in my personal mailbox. Can't seem to pull the folder grant info from the shared box either, so I can't use that as a reference.. Ill add my version number to my profile when I get a chance. 5.1 or something to that effect.

  6. #6
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    yes, shares created through the command line do not produce an acceptance e-mail. you have to mount the share manually through either the web interface or through the command line using zmmailbox createMountPoint

Similar Threads

  1. migrate20070809-Signatures.pl?
    By j.mc in forum Installation
    Replies: 4
    Last Post: 06-11-2008, 10:52 AM
  2. Replies: 13
    Last Post: 07-20-2007, 04:21 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  4. Replies: 18
    Last Post: 10-30-2005, 09:12 PM
  5. Certify Error on (re)install
    By rodrigoccurvo in forum Installation
    Replies: 4
    Last Post: 09-23-2005, 10:04 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
  •