3.3

Table Of Contents
Console Server Commands
149
n
When using characters, such as angled brackets (>,<), the pound sign (#), exclamation
point (!) and asterisk (*), they must be enclosed within quotation marks.
Type
help msgclean
at the console to view msgclean options at any time.
Removing Messages Sent to Existing or Non-Exiting Users
The msgclean command removes messages to existing users as well as non-existing users.
When the -r option is used, msgclean prompts for approval for each existing user whose
messages are going to be removed.
NRCS-A$ msgclean -t west
west 7 messages
7 total qualifying messages.
NRCS-A$ msgclean -r west
Do you wish to remove messages sent to west (y/n)? y
7 messages removed.
If you remove any users who have unread messages, those messages remain in the database.
Use the -x option to force msgclean to act only on usernames that no longer exist. Messages
removed from non-existent users do not prompt for confirmation. The following example
shows deletion of three messages pending to a guest user.
NRCS-A# msgclean –tx
0 total qualifying messages.
NRCS-A# utraits guest remove
User guest removed
NRCS-A# msgclean –tx
guest 3 messages (no such user)
3 total qualifying messages.
NRCS-A# msgclean –rx
3 messages removed.