Share mailbox: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
__FORCETOC__
__FORCETOC__
<div class="col-md-12 ibox-content">
<div class="col-md-12 ibox-content">
=How to share entire mailbox by CLI=  
=How to share entire mailbox by command line?=  
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 9}}|}}
{{KB|{{WIP}}||{{ZCS 8.8}}|{{ZCS 9.0}}||||}}  
{{WIP}}  
   




====Requirement====
====Requirement====
This article show how to share and revoke entire mailbox with another mailbox via CLI.
This article show how to share and revoke entire mailbox with another mailbox via command line.


====Solution====
====Solution====
Line 17: Line 17:
  zmmailbox -z -m share@domain.com mfg / account user@domain.com rwixd
  zmmailbox -z -m share@domain.com mfg / account user@domain.com rwixd


(r)ead - search, view overviews and items
'''Note:'''
(w)rite - edit drafts/contacts/notes, set flags
Available permissions details: r, rw, rwix, rwixd, rwixda, none.
(i)nsert - copy/add to directory, create subfolders action
* '''(r)'''ead - search, view overviews and items
(x) - workflow actions, like accepting appointments
* '''(w)'''rite - edit drafts/contacts/notes, set flags
(d)elete - delete items and subfolders, set \Deleted flag
* '''(i)'''nsert - copy/add to directory, create subfolders action
(a)dminister - delegate admin and change permissions
* '''(x)''' - workflow actions, like accepting appointments
* '''(d)'''elete - delete items and subfolders, set \Deleted flag
* '''(a)'''dminister - delegate admin and change permissions  
 
=====Step 2=====   
=====Step 2=====   
* Create mount point for the shared folder on another mailbox.
* Create mount point for the shared folder on another mailbox.
Line 30: Line 33:
:<pre>zmmailbox -z -m user@domain.com gaf /</pre>  
:<pre>zmmailbox -z -m user@domain.com gaf /</pre>  


=====Unshare/revoke grant and delete folder from another mailbox.=====  
====Unshare/revoke grant and delete folder from another mailbox.====
   
   
* Revoke grant of shared folder  
* Revoke grant of shared folder  
Line 38: Line 41:
:<pre>zmmailbox -z -m user@domain.com df /Shared</pre>
:<pre>zmmailbox -z -m user@domain.com df /Shared</pre>


This [https://www.mediawiki.org/wiki/Help:Formatting external link] contains more information about formatting.  
Refer [https://wiki.zimbra.com/wiki/Zmmailbox] for more information about zmmailbox commands.
Refer [https://wiki.zimbra.com/wiki/Steps_to_create_share_and_mount_folder_from_CLI] for commands to share and mount specific folder.


{{SubmittedBy|Avinash Kalambe}}
{{SubmittedBy|Avinash Kalambe}}


{{Article Footer|ZCS 8.8|2023-04-26}}
{{Article Footer|ZCS 8.8|2023-04-26}}

Revision as of 15:21, 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 CLI 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 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