Setting Permissions
As a shared mailbox administrator, you will be setting permissions for all the users of the box. Before following the procedures on this page you may want to review the definitions, list of available permissions, examples of how they might be combined and the commands you can use.
Adding a user to a shared mailbox or modifying the permissions of an existing user
- Under Solaris or a capable e-mail client, at the Unity prompt, type:
add cyrus
- Type:
cyradm shared.mail.ncsu.edu
- Enter your Unity ID and password when prompted. You are now logged in.
- To see the current Access Control List (ACL) for the shared mailbox, type:
lam sharedbox
where sharedbox is the name of your box.
- You will see a listing of the Unity IDs of the users of the box and the combination of permissions granted to each, similar to the following example:
uni10map.unity.ncsu.edu> lam sharedbox
anyone p
sarah lrswipda
twk lrswipda
gierka lrswipda
hmn lrswipda
ershanno lrswipda
chking lrswipda
cyrus d
uni10map.unity.ncsu.edu>
NOTE: The user "anyone" with permission "p" (Post) should always remain in this ACL. Otherwise, no one (including the users on the ACL) will be able to send mail to the box unless they have specific Post permission. - Use the sam command to add a user or modify existing permissions. Type:
sam box userid permissions
where box is the name of the shared mailbox
userid is the Unity ID of the user being added or whose permissions are being changed
permissions is the combination of permissions being given to that userFor example, if you added a new user bubba with Look and Read permissions (lr), and then used the lam command as in Step 4 above, the list above would now look like this, with the new user appearing as the last item:
uni10map.unity.ncsu.edu> lam sharedbox
anyone p
sarah lrswipda
twk lrswipda
gierka lrswipda
hmn lrswipda
ershanno lrswipda
chking lrswipda
cyrus d
bubba lr
uni10map.unity.ncsu.edu>
Removing a user from a shared mailbox
To remove a user from the box you will need to remove all of that user's permissions. For example, to remove bubba from the list above, you would use the sam command as in Step 6 and set the permissions to "none" as follows:
uni10map.unity.ncsu.edu> sam sharedbox bubba none
You can use the lam command as in Step 4 to verify that the user has been removed from the ACL:
uni10map.unity.ncsu.edu> lam sharedbox
anyone p
sarah lrswipda
twk lrswipda
gierka lrswipda
hmn lrswipda
ershanno lrswipda
chking lrswipda
cyrus d
uni10map.unity.ncsu.edu>
