Results 1 to 6 of 6

Thread: Mount shared Calendar

  1. #1
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    6

    Default Mount shared Calendar

    Hello!

    Is there a way within the web client to mount a shared folder (Calendar, Contacts, ...) that has been "pre-shared" via a distribution list?

    I.E., how can I mount a share when there is no invitation mail?

    Is it possible to auto-mount shares for new users that are members of a distribution list with common shares?

    thanks

    Chris

  2. #2
    webman's Avatar
    webman is offline Special Member
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    7

    Default

    To answer your first question, yes this is possible.

    For example, to link to a calendar that has been shared to you:


    1. In Calendar view, right-click on the Calendars heading (immediately beneath the New Calendar button).
    2. Click Link to Shared Calendar
    3. Enter the email address of the account that created the share
    4. Type in the path to the shared item - usually just the name will suffice.
    5. Click OK


    You can use the zmmailbox command to create mount points.

    Here's an example Perl script will get members of a distribution list (mydistlist@example.com) and mount the folder Calendar on share@example.com as Shared in each member's account.

    Code:
    #!/usr/bin/perl
    # Get distribution list information and filter to just it's members
    my $gdl = `/opt/zimbra/bin/zmprov gdl mydistlist\@example.com|grep zimbraMailForwardingAddress:`;
    my @dlmembers = split('\n', $gdl);
    
    foreach $member(@dlmembers){
    
        $member =~ s/zimbraMailForwardingAddress:\s*|\s*$//g;
        print " - Got member '$member'.\n";
    
        system("zmmailbox -z -m $member createMountpoint --view appointment -F# /Shared share@example.com /Calendar");
    
    }
    If you have a search on the forum for "createmountpoint" you'll find loads of other examples for different situations.
    Last edited by webman; 05-21-2008 at 01:46 PM.
    Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

  3. #3
    gtuhl is offline New Member
    Join Date
    May 2008
    Location
    Atlanta
    Posts
    4
    Rep Power
    6

    Default

    This looks like what I need, but when I attempt to run the zmmailbox command it presents me with the proper usage and doesn't seem to run. Topmost in the return is the usage for createMountPoint so I suspect I am doing something wrong with that command portion?

    Im trying now to just do it for a specific user from the command line so I can see the output. Trying to mount the other@mydomain.com Holiday calendar (that is shared) as a CompanyHoliday calendar on my account.

    /zmmailbox -z -m me@mydomain.com createMountpoint --view appointment -F # /CompanyHoliday other@mydomain.com /Holiday

    Any ideas?

  4. #4
    webman's Avatar
    webman is offline Special Member
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    7

    Default

    Whoops, my apologies.

    If you remove the space from the -F and # so that it becomes -F# it should work without error.

    The -F# is the flag option, which in the case of calendar mountpoints, the hash symbol makes it active (places a 'tick' next to it in the Web client).
    Last edited by webman; 05-21-2008 at 01:46 PM.
    Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

  5. #5
    gtuhl is offline New Member
    Join Date
    May 2008
    Location
    Atlanta
    Posts
    4
    Rep Power
    6

    Default

    Works perfect, thanks for the followup. Brand new to Zimbra, haven't had a chance to get the hang of the CLI bits (but love that they are available).

  6. #6
    webman's Avatar
    webman is offline Special Member
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    7

    Default

    You're welcome

    Hope you stick around and find that Zimbra meets your requirements. It's a very complex and powerful piece of software with lots of useful features for both end users and administrators.

    Don't hesitate to ask here on the forum if you have any further queries, and also check the wiki for loads more information (especially command line stuff).
    Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. best practice: grouping shared calendars
    By bdial in forum Administrators
    Replies: 12
    Last Post: 03-11-2011, 07:42 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. zcs 5.0 rc2 shared calendar not working
    By wtchan in forum Users
    Replies: 1
    Last Post: 11-30-2007, 05:19 AM
  4. [SOLVED] Shared calendar not able to edit
    By garfabian in forum Installation
    Replies: 1
    Last Post: 09-17-2007, 08:55 AM
  5. Shared mailbox and shared calendar question
    By illscientific in forum Administrators
    Replies: 3
    Last Post: 12-12-2006, 08:28 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
  •