Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-21-2008, 01:16 AM
interways interways is offline
Member
 
Join Date: May 2008
Posts: 12
interways is on a distinguished road
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
Reply With Quote
  #2 (permalink)  
Old 05-21-2008, 02:13 AM
webman's Avatar
webman webman is offline
Special Member
 
Join Date: Oct 2007
Location: County Durham, UK
ZCS Version: 5.0.7_GA_2444.UBUNTU6_64 FOSS
Posts: 120
webman is on a distinguished road
Send a message via MSN to webman Send a message via Skype™ to webman
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.
__________________
Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

Last edited by webman : 05-21-2008 at 01:46 PM.
Reply With Quote
  #3 (permalink)  
Old 05-21-2008, 09:08 AM
gtuhl gtuhl is offline
Junior Member
 
Join Date: May 2008
Posts: 2
gtuhl is on a distinguished road
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?
Reply With Quote
  #4 (permalink)  
Old 05-21-2008, 01:43 PM
webman's Avatar
webman webman is offline
Special Member
 
Join Date: Oct 2007
Location: County Durham, UK
ZCS Version: 5.0.7_GA_2444.UBUNTU6_64 FOSS
Posts: 120
webman is on a distinguished road
Send a message via MSN to webman Send a message via Skype™ to webman
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).
__________________
Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

Last edited by webman : 05-21-2008 at 01:46 PM.
Reply With Quote
  #5 (permalink)  
Old 05-21-2008, 02:39 PM
gtuhl gtuhl is offline
Junior Member
 
Join Date: May 2008
Posts: 2
gtuhl is on a distinguished road
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).
Reply With Quote
  #6 (permalink)  
Old 05-21-2008, 02:42 PM
webman's Avatar
webman webman is offline
Special Member
 
Join Date: Oct 2007
Location: County Durham, UK
ZCS Version: 5.0.7_GA_2444.UBUNTU6_64 FOSS
Posts: 120
webman is on a distinguished road
Send a message via MSN to webman Send a message via Skype™ to webman
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
best practice: grouping shared calendars bdial Administrators 9 02-12-2008 03:16 AM
zcs 5.0 rc2 shared calendar not working wtchan Users 1 11-30-2007 04:19 AM
[SOLVED] Shared calendar not able to edit garfabian Installation 1 09-17-2007 08:55 AM
Shared mailbox and shared calendar question illscientific Administrators 3 12-12-2006 07:28 AM
Zimbra fails after working for 2 weeks Linsys Administrators 9 10-20-2005 01:26 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0