Sun Java System Messaging Server 6 2005Q4 Administration Guide

Managing Mail Users, Mailing Lists and Domains

All user, mailing list and domain information is stored as entries in an LDAP directory. An LDAP directory can contain a wide range of information about an organization’s employees, members, clients, or other types of individuals that in one way or another “belong” to the organization. These individuals constitute the users of the organization.

In the LDAP directory, the information about users is structured for efficient searching, with each user entry identified by a set of attributes. Directory attributes associated with a user can include the user’s name and other identification, division membership, job classification, physical location, name of manager, names of direct reports, access permission to various parts of the organization, and preferences of various kinds.

In an organization with electronic messaging services, many if not all users hold mail accounts. For Messaging Server, mail-account information is not stored locally on the server; it is part of the LDAP user directory. The information for each mail account is stored as mail attributes attached to a user’s entry in the directory.

Creating and managing mail users and mailing lists consists of creating and modifying user and mailing list entries in the directory. This is done using the Delegated Administrator for Sun LDAP Schema 2 and the iPlanet Delegated Administrator for Messaging (for Sun LDAP Schema 1), Delegated Administrator command line utilities, or by directly modifying the LDAP directory for Sun LDAP Schema 1.

ProcedureTo Remove a User from Messaging Server

Steps
  1. Mark the user as deleted by running the commadmin user delete command. (See the Chapter 5, Command Line Utilities, in Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide.

  2. Remove services from the user.

    A service can be a mailbox or a calendar. For the current version of Messaging Server, the program is called msuserpurge. (See msuserpurge in Sun Java System Messaging Server 6 2005Q4 Administration Reference). For calendar services, the program is csclean. (See the Sun Java System Calendar Server 6 2005Q4 Administration Guide.)

  3. Permanently remove the user, by invoking the commadmin domain purge command.

ProcedureTo Remove a Domain from Messaging Server

Steps
  1. Mark the domain as deleted by running the commadmin domain delete command. (See the Chapter 5, Command Line Utilities, in Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide).

  2. Remove services from the users of that domain.

    A service can be a mailbox or a calendar. For Messaging Server, the program is called msuserpurge. (See msuserpurge in Sun Java System Messaging Server 6 2005Q4 Administration Reference. For calendar services, the program is csclean. (See Sun Java System Calendar Server Administration Guide.)

  3. Permanently remove the domain, by invoking the commadmin domain purge command.