The Sun Message Store contains the content of the email system--messages and attachments. This section describes the maintenance procedures for the Sun Message Store. TABLE 7-2 summarizes the maintenance utilities provided for the Sun Message Store.
TABLE 7-2 Sun Message Store Maintenance Utilities
Utility
Description
Supported Interface/Reference
Purge
Removes messages that are no longer referenced in user and group folders and returns space to the Sun Message Store file system.
Admin Console. See "Configuring Purge Options" on page 158 and "To Configure the Purge Schedule" on page 160.
Command-line utility (impurge). Refer to SIMS Reference Manual.
Backup
Copies contents of folders to specified backup device. Can perform full or incremental backups of all folders or the folder of a specified user or group.
Command-line utility (imbackup). See "Message Store Backup and Restore" on page 236 and SIMS Reference Manual.
Restore
Restores contents of all folders or one specified user or group folder from the backup device to the Sun Message Store.
Command-line utility (imrestore). See "Message Store Backup and Restore" on page 236 and SIMS Reference Manual.
Folder Check
Scans through the Sun Message Store and the user folders verifying links.
Command-line utility (imcheck). Refer to the SIMS Reference Manual.
Import mailbox
Imports existing user's mailbox in to the Sun Message Store.
Command line utility (imimportmbox). Refer to SIMS Reference Manual.
Delete user
Deletes the following from the Sun Message Store: Inbox, private folders, and private shared folders of a specified user; and public shared folders.
Command-line utility (imdeluser). Refer to "Delete User" on page 241 and SIMS Reference Manual.
Reinitialize user quota
Reinitializes a user's quota file in the user admin directory /usr/<hash number>/<username>/Adm.
Command-line utility (iminitquota). Refer to "To Activate Message Store Quota Enforcement on an Installed System" on page 149 and SIMS Reference Manual.
BackUp/Restore Message Store Configuration
Back up or restore Message Store Configuration
Admin Console. See "Sun Message Store Configuration Back Up and Restore" on page 143.
Deleting old messages
Deleting messages received before a specified date.
Command-line utility (imexpire). Refer to "Deleting Old Messages" on page 241 and SIMS Reference Manual.
Some of the maintenance utilities impose a session-locking mechanism to prevent certain other maintenance utilities from being run in parallel. TABLE 7-3 outlines which utilities cannot run in parallel.
TABLE 7-3 Maintenance Utilities Session Locking
Folder Check program should not be run with any other utilities.