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 03-11-2009, 08:59 AM
Trained Alumni
 
Posts: 12
Default [SOLVED] Removing a mountpoint for a single mailbox via CLI...

This should be an easy one...

I want to delete a mountpoint for one mail box. (This user no longer needs access to it.)

I've used the CLI to create/give access to the mountpoint before, but not to remove it.

There is a "deleteFolder" (df) command available. Once I have selected the user's mailbox, am I correct in my assumption that this will simply remove the mountpoint/share and NOT actually delete it?

Treading lightly because the share is very critical.

Thanks for any guidance you can provide!
Reply With Quote
  #2 (permalink)  
Old 03-11-2009, 09:15 AM
Moderator
 
Posts: 6,237
Default

Welcome to the forums,

As long as you run deleteFolder on the account receiving the share (sharee/mount), and not the person who shared it (sharer/origin folder) you wont loose anything.

As discussed in Bug 26729 - RFE : deleteMountpoint command for zmmailbox :
Quote:
It might be counter-intuitive but the back-end server treats mail, contacts, calendars, search, and mountpoints all like folders.
The createMountpoint command also refers to folders in its usage: createMountpoint(cm) [opts] {folder-name} {owner-id-or-name} {remote-item-id-or-path} -F/--flags <arg> flags -c/--color <arg> color -V/--view <arg> default type for folder.
We decided not to have an explosion of commands (renameSearchFolder, renameAddressBook, renameCalendar, renameTask, renameNotebook, renameBriefcase, renameMountpoint, deleteTask, deleteNotebook, deleteCalendar, modifyTaskColor, modifyCalendarColor, etc ,etc) and instead expose them all as ___Folder commands.
That said if enough truly get confused and worry that it would delete the orgin rather than simply the mount we'll revisit.
Reply With Quote
  #3 (permalink)  
Old 03-11-2009, 09:26 AM
Trained Alumni
 
Posts: 12
Default

Worked like a charm.

Thanks!
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.