Oracle eMail Server Administrator's Guide
Release 5.2

A86653-01

Library

Service

Index

Prev Next

12
Managing Shared Folders

You can create shared folders to provide a discussion medium and an archive for messages relating to a particular topic. Users with access privileges can browse through the history of messages on the topic and post messages into the shared folder. Shared folders have a subscribe property, which can be used to show or hide the folder (and its children) in the hierarchy.

This chapter includes the following topics:

Configuring the Shared Folder Hierarchy

Before you can create shared folders, you must set up the folder hierarchy and specify the nodes to which the shared folders must be replicated. You must configure the shared folder hierarchy before creating any shared folders in the system. After this is done, you only need to reconfigure the shared folder hierarchy if you add or change nodes to which you want the shared folders replicated.

Steps for Configuring the Shared Folder Hierarchy

This task can be performed through either the Administration Tool GUI, or the OOMGR command-line interface.

  1. Establish a folder naming convention and determine your shared folder hierarchy.

  2. On each node to which you want to replicate the shared folder hierarchy (not the actual content), create a user account to accept the replication information. Even though the shared folder is not an actual person, it must have a user account and a home node specified.

    For example, if you want to replicate shared folders to node A, node B, and node C, create a user account with the name NodeA on node A, and so on. Refer to "Creating an eMail Server User Account" for instructions.

  3. Create a distribution list called Public_Folder_Nodes. Add the names of all the user accounts you just created on the nodes to which the shared folder hierarchy is being replicated. (You must use the name Public_Folder_Nodes for this distribution list.)

    For example, if you created accounts NodeA, NodeB, and NodeC, you would add these three names to the distribution list. Refer to "Creating a Public Distribution List" for instructions.

  4. Add your shared folders. Refer to "Adding a Shared Folder" for instructions.

  5. Grant user privileges to the folders, as needed. Refer to "Granting Access Privileges" for instructions.

Adding a Shared Folder

You can add a shared folder to provide a common place to store messages that more than one person might need to access.

Prerequisites to Adding a Shared Folder

Before adding shared folders, you must configure the folder hierarchy and replication. Refer to "Configuring the Shared Folder Hierarchy" for instructions.

Steps for Adding a Shared Folder

This task can be performed through either the Administration Tool GUI, or the OOMGR command-line interface.

See Also:

"Guidelines for Adding a Shared Folder" for more information about performing this task 

In the Administration Tool GUI

  1. Start the Administration Tool GUI.

  2. In the navigation tree, select Messaging System > Domains > domain_name > Shared Folders.

  3. In the toolbar, click (Create).

  4. Complete the Add a New Shared Folder dialog box.

    See Also:

    "Shared Folder Class Attributes" for a complete list of the Public Distribution List attributes and their descriptions 

  5. Click OK.

In OOMGR

  1. Start OOMGR.

  2. Enter the following command at the OOMGR prompt:

    IOFCMGR>insert folder name=/<folder_name> daysKept=<days_kept>
    description='<description>' defaultAccess=[open | restricted]
    distList="<distribution_list_from_step2>";
    
    

    This command displays a portion of the available attributes.

    See Also:

    "Shared Folder Class Attributes" for a complete list of the Public Distribution List attributes and their descriptions 

Example:

Guidelines for Adding a Shared Folder

Replicating Shared Folders Manually

If you created a shared folder account on each node to which you replicated shared folders and created a public distribution list on the DCN containing the name of each shared folder account, then shared folder replication should happen automatically.

However, on occasion you may need to manually resynchronize folder hierarchies and folder contents.

Steps for Replicating Shared Folders Manually

This task can be performed through either the Administration Tool GUI, or the OOMGR command-line interface.

In the Administration Tool GUI

  1. Start the Administration Tool GUI.

  2. In the navigation tree, select Messaging System > Domains > domain_name > Shared Folders > folder_name.

  3. In the toolbar, click (Replicate).

  4. Complete the Manually Replicate a Shared Folder dialog box.

  5. Click OK.

In OOMGR

  1. Start OOMGR.

  2. Enter the following command at the OOMGR prompt:

    IOFCMGR>replicate to node=<node_name> class=folder object=<object_name>;
    
Example:
Example:

Displaying Shared Folder Access Privileges

You can display a user's information to check if the user has administrative privileges for a shared folder.

Steps for Displaying Shared Folder Access Privileges

This task can only be performed through the OOMGR command-line interface.

In OOMGR

  1. Start OOMGR.

  2. Enter the following command at the OOMGR prompt:

    IOFCMGR>check user=<username> item=<folder_name>; 
    
Example:

Granting Access Privileges

The individual user who sends, forwards, or replies to a message with a post to a shared folder can delete that post from the shared folder. Users can be granted additional access privileges to shared folders.

Steps for Granting Access Privileges

This task can be performed through either the Administration Tool GUI, or the OOMGR command-line interface.

See Also:

"Guidelines for Granting Access Privileges" for more information about performing this task 

In the Administration Tool GUI

  1. Start the Administration Tool GUI.

  2. In the navigation tree, select Messaging System > Domains > domain_name > Shared Folders > folder_name.

  3. In the toolbar, click (Grant).

  4. Complete the Grant Access Privileges dialog box.

    See Also:

    "Shared Folder Access Privileges" for a list of the parameters in this dialog box 

  5. Click OK.

In OOMGR

  1. Start OOMGR.

  2. Enter the following command at the OOMGR prompt:

    IOFCMGR>grant user=<username> item="<folder_name>" priv=<privilege>;
    

    See Also:

    "Shared Folder Access Privileges" for a list of parameters available with this command 

Example:

Guidelines for Granting Access Privileges

Revoking Access Privileges

You can revoke any privileges from a user for a specific folder.

Steps for Revoking Access Privileges

This task can be performed through either the Administration Tool GUI, or the OOMGR command-line interface.

See Also:

"Guidelines for Revoking Access Privileges" for more information about performing this task 

In the Administration Tool GUI

  1. Start the Administration Tool GUI.

  2. In the navigation tree, select Messaging System > Domains > domain_name > Shared Folders > folder_name.

  3. In the toolbar, click (Revoke).

  4. Complete the Revoke Access Privileges dialog box.

    See Also:

    "Shared Folder Access Privileges" for more information about the privileges in this dialog box 

  5. Click OK.

In OOMGR

  1. Start OOMGR.

  2. Enter the following command at the OOMGR prompt:

    IOFCMGR>revoke priv=<privilege> user=<username> item="<folder_name>";
    

    See Also:

    "Shared Folder Access Privileges" for more information about the privileges available with this command 

Example:

Guidelines for Revoking Access Privileges

When you grant a privilege, it is added to the other privileges that the user already has. Granting a privilege does not override the privileges that the user already has. For example, if a user has the child privilege, and you grant that user the discover privilege, the user still has the child privilege. If you want to restrict access to certain folders for a user, you should first revoke that user's current privileges and then grant the privileges that you want the user to have.

See Also:

"Granting Access Privileges" for instructions on how to grant privileges 

Shared Folder Class Attributes

The following Shared Folder class attributes are available:

Attribute   Type (Length Limit)  Description 

created 

date 

Date the folder was created. Read only. 

daysKept 

number 

Number of days a message is kept in the folder before it is automatically deleted. 

defaultAccess 

character (255) 

The initial user access to the folder. Valid values are open or restricted. The default value is open which means that all users on nodes to which the folder is replicated have access to the folder. If this value is set to restricted, then only users assigned privileges by the system administrator can access the folder. 

description 

character (80) 

A description of the folder contents. Although this is an optional attribute, it is a good idea to enter a description for each shared folder you create. 

distList 

character (80) 

Name of the distribution list associated with the folder. This list contains the account names that receive folder messages. 

modified 

date 

Date the folder was last modified. eMail Server changes this date each time a message is added to, or deleted from, the folder. Read only. 

name

(Required) 

character (30) 

Name of the folder. This is the key attribute for a folder, and the only required attribute. 

numberOfMessages 

number 

Number of messages in the folder. Read only. 

opened 

date 

Date the folder was last opened. Read only. 

size 

number 

Size of the folder in bytes. Read only. 

Shared Folder Access Privileges

You can grant the following privileges:

Privilege  Description 

admin 

The user has all administrative privileges, including all of those listed in this table, and can change the access list on the folder. 

child 

The user can create or delete a subfolder (child folder) in this folder. 

contents 

User can read and post to messages in the folder. 

discover 

The user may see and open the folder, but may not view the contents. 

moderate 

The user can create and delete messages in the folder. 


Prev Next
Oracle
Copyright © 2001 Oracle Corporation.

All Rights Reserved.

Library

Service

Index