Sun Java System Messaging Server 6.3 Administration Guide

ProcedureTo Create a Public Shared Folder

Public folders must be created by system administrators because they require access to the LDAP database as well as the readership command.

  1. Create an LDAP user entry called public that will act as a container for all public folders (see 20.5 About Shared Folders).


    dn: cn=public,ou=people,,o=ISP
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: inetUser
    objectClass: ipUser
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    objectClass: nsManagedPerson
    objectClass: userPresenceProfile
    cn: public
    mailDeliveryOption: mailbox
    uid: public
    inetUserStatus: active
    mailUserStatus: active
    mailQuota: -1
    mailMsgQuota: 100
  2. Create folders within the public account by using the mboxutil command line utility.

    For example, create a public folder called gardening:

    mboxutil -c user/public/gardening
  3. Set the name of the folder.

    Typically, this is public. Here's the command for setting the folder name to public:

    configutil -o store.publicsharedfolders.user —v public

  4. Specify the users and their access rights to the shared folder.

    Use the readership command to specify users and their access rights. For example the following command gives everyone at lookup, read, and posting access to the public folder gardening:

    readership -s user/public/gardening lrp

    For detailed instructions on how to user readership, see 20.6.2 To Set or Change a Shared Folder’s Access Control Rights