Share mailbox

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to share entire mailbox by command line?

   KB 24527        Last updated on 2024-03-13  

(0 votes)


This article shows how to share and revoke entire mailbox with another mailbox via command line.


Note : is the account who wants to share mailbox and is the account who wants to accept shared mailbox.

Step 1
  • Modify the grant of the folder that need to share with another mailbox.
zmmailbox -z -m mfg / account rwixd

Note: Available permissions details: r, rw, rwix, rwixd, rwixda, none.

  • (r)ead - search, view overviews and items
  • (w)rite - edit drafts/contacts/notes, set flags
  • (i)nsert - copy/add to directory, create subfolders action
  • (x) - workflow actions, like accepting appointments
  • (d)elete - delete items and subfolders, set \Deleted flag
  • (a)dminister - delegate admin and change permissions
Step 2
  • Create mount point for the shared folder on another mailbox.
zmmailbox -z -m cm /shared /
Step 3
  • Check shared folder got mounted on another mailbox by command line as well as webUI.
zmmailbox -z -m gaf 

Unshare/revoke grant and delete folder from another mailbox.

  • Revoke grant of shared folder.
zmmailbox -z -m mfg / account none
  • Delete mount point of shared folder from another mailbox.
zmmailbox -z -m df /Shared

Refer [1] for more information about zmmailbox commands.
Refer [2] for commands to share and mount specific folder.

Submitted by: Avinash Kalambe
Verified Against: ZCS 8.8, 9 Date Created: 2023-04-26
Article ID: Date Modified: 2024-03-13

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search