Results 1 to 4 of 4

Thread: [SOLVED] Removing a mountpoint for a single mailbox via CLI...

  1. #1
    Join Date
    Feb 2009
    Rep Power

    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!

  2. #2
    Join Date
    May 2006
    Rep Power


    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 :
    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.

  3. #3
    Join Date
    Feb 2009
    Rep Power


    Worked like a charm.


  4. #4
    Join Date
    Nov 2008
    Grand Rapids, MI
    Rep Power


    It might be useful to either explicitly document this somewhere (like specifically say that it acts on a local mountpoint rather than the source folder if the folder is shared), or go ahead and make an alias command to delete a mountpoint. I've seen several people be scared to delete a mountpoint out of fear it would delete the original source folder because they had admin privs on the source folder. It took me a good hour of searching on Google to find this thread, and this is the only place on the internet I could find that explicitly points out that it's safe because it only deletes the actual mountpoint.

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Single Mailbox To Multi Mailbox Migration
    By dosmage in forum Installation
    Replies: 8
    Last Post: 03-25-2009, 07:13 PM
  3. Replies: 10
    Last Post: 10-22-2008, 11:24 AM
  4. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 05:32 PM
  5. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 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