GetMeOutOfExchange got me started so I wanted to contribute by adding my notes here as well. Below are my notes after setting things up and testing. This is mainly to create shared mailboxes which will be mounted in the web UI of Zimbra that can be used by multiple people that will also prevent any received or sent messages from being deleted.
Note: you'll still have to select the correct "From" account when sending. I messed with Persona's but using a Persona would cause the sent copy to go to the wrong sent folder...
Note: the shared mailboxes will show up in Outlook if it's configured via activesync and zpush (it also shows up on my Blackberry... a real Blackberry, not the android stuff...).
* Create your accounts that are to be shared
* Create an "Inbox Archive" folder to store an additional copy of all inbound E-mail
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com cf -V message "/Inbox Archive"
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com afrl -f "Inbox Archive: create 2nd copy of inbound E-mail with limited permissions for shared users" active any date after 19401231 fileinto "/Inbox" fileinto "/Inbox Archive" stop
Here the account shared.mailbox01@domainname.com represents the sharer and person_receiving_share@domainname.com represents the sharee.
* Give full permissions (except creating shares) at root of mailbox.
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com mfg / account person_receiving_share@domainname.com rwixd
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com mfg "Inbox Archive" account person_receiving_share@domainname.com r
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com mfg /Sent account person_receiving_share@domainname.com rwix
Code: Select all
zmmailbox -z -m person_receiving_share@domainname.com createMountpoint /shared.mailbox01@domainname.com shared.mailbox01@domainname.com /
Code: Select all
zmprov grr account shared.mailbox01@domainname.com usr person_receiving_share@domainname.com sendAs
* Remove sendAs permission, this will cause the option to disappear from the "from" account list
Code: Select all
zmprov rvr account shared.mailbox01@domainname.com usr person_receiving_share@domainname.com sendAs
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com mfg / account person_receiving_share@domainname.com none
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com mfg "Inbox Archive" account person_recieving_share@domainname.com none
zmmailbox -z -m shared.mailbox01@domainname.com mfg /Sent account person_recieving_share@domainname.com none
Code: Select all
zmmailbox -z -m person_recieving_share@domainname.com deleteFolder /shared.mailbox01@domainname.com
* First list all folders of the mailbox that might have shares
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com gaf
Code: Select all
zmmailbox -z -m shared.mailbox01@domainname.com gfg "/"
zmmailbox -z -m shared.mailbox01@domainname.com gfg "/Inbox Archive"
zmmailbox -z -m shared.mailbox01@domainname.com gfg "/Sent"
zmmailbox -z -m shared.mailbox01@domainname.com gfg "/Inbox"
Code: Select all
zmprov ckr account shared.mailbox01@domainname.com person_recieving_share@domainname.com sendAs