Shared folders are typically created by adding users to a shared folder list with Communications Express, or by creating public shared folders as described earlier. Sometimes, however, users may wish to add an email group (mail distribution list) to a shared folder list so that everyone in the group will have access to the shared folder. For example, a group called firstname.lastname@example.org has 25 members and the members have decided that they would like to create a shared folder to store all email going to this group address.
Adding an email group to a shared folder requires System Administrator privileges.
Create a folder. (If this has already been done, then skip this step. )
Typically this should be done by one of the members of the group. If it’s not, you can create it for them using the following command:
mboxutil -c user/gregk/gardening
gregk is the uid of the shared folder owner. gardening is the name of the shared folder.
Add the attribute-value pair aclGroupAddr group_name@domain to the user entry of every member who will have access to the group shared folder.
Using the example above, add the following attribute-value pair to each user entry receiving access to the shared folder:
Note that members will already have this attribute if the group was created dynamically using the memberURL attribute in the group entry. URL value for this attribute would look like this:
memberURL: ldap:///o=sesta.com??sub?(&(aclGroupAddremail@example.com) (objectclass=inetmailuser))
(The sample entry line has been wrapped for typographic reasons. The actual entry should appear on one physical line.)
Specify the group and the access rights to the shared folder.
Use the readership command to do this. Using the example above the following command gives members of firstname.lastname@example.org lookup, read, and posting access to the public folder gardening:
readership -s user/gregk/gardening email@example.com lrp
For detailed instructions on how to user readership, see 20.6.2 To Set or Change a Shared Folder’s Access Control Rights