Share mailbox: Difference between revisions

No edit summary
No edit summary
Line 30: Line 30:
:<pre>zmmailbox -z -m user@domain.com cm /shared share@domain.com /</pre>  
:<pre>zmmailbox -z -m user@domain.com cm /shared share@domain.com /</pre>  
=====Step 3=====   
=====Step 3=====   
* Check shared folder got mounted on another mailbox by CLI as well as webUI.
* Check shared folder got mounted on another mailbox by command line as well as webUI.
:<pre>zmmailbox -z -m user@domain.com gaf /</pre>  
:<pre>zmmailbox -z -m user@domain.com gaf /</pre>  



Revision as of 15:29, 9 May 2023

How to share entire mailbox by command line?

   KB 24527        Last updated on 2023-05-9  




0.00
(0 votes)


Requirement

This article show 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 /

Unshare/revoke grant and delete folder from another mailbox.

  • 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
Verified Against: ZCS 8.8, 9 Date Created: 2023-04-26
Article ID: https://wiki.zimbra.com/index.php?title=Share_mailbox Date Modified: 2023-05-09



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