Share mailbox
Requirement
This article shows how to share and revoke entire mailbox with another mailbox via command line.
Solution
Note : share@domain.com is the account who wants to share mailbox and user@domain.com 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 share@domain.com mfg / account user@domain.com 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 user@domain.com cm /shared share@domain.com /
Step 3
- Check shared folder got mounted on another mailbox by command line as well as webUI.
zmmailbox -z -m user@domain.com gaf
- Revoke grant of shared folder.
zmmailbox -z -m share@domain.com mfg / account user@domain.com none
- Delete mount point of shared folder from another mailbox.
zmmailbox -z -m user@domain.com df /Shared
Refer [1] for more information about zmmailbox commands.
Refer [2] for commands to share and mount specific folder.
Submitted by: Avinash Kalambe |