[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
Removes messages from active
status.
rmm [ + Folder ] [
Messages ]
The rmm command removes
messages from active status by renaming them. To rename a message, the
system prefaces the current message number with a , (comma). Inactive
files are unavailable to the Message Handler (MH) package. However,
system commands can still manipulate inactive files.
Note: The
rmm command does not change the current message.
Inactive messages should be
deleted periodically. An entry can be placed in your crontab
file to automatically delete all files beginning with a comma.
+Folder
| Specifies the folder containing the messages to rename.
|
Messages
| Specifies the messages to rename. You can specify several
messages, a range of messages, or a single message. Use the following
references to specify a message:
- Number
- Number of the message
- Sequence
- A group of messages specified by the user. Recognized values
include:
- all
- All messages in a folder
- cur or . (dot)
- Current message. This is the default.
- first
- First message in a folder
- last
- Last message in a folder
- next
- Message following the current message
- prev
- Message preceding the current message
-
-
|
-help
| Lists the command syntax, available switches (toggles), and version
information.
Note: For MH, the name of this flag must be fully spelled
out.
|
- To remove the current message
in the current folder, enter:
rmm
- To remove messages
2 through 5 from the sales folder,
enter:
rmm +sales 2-5
The following entries are entered
in the UserMhDirectory/.mh_profile:
Current-Folder:
| Sets the default current folder.
|
Path:
| Specifies the UserMhDirectory.
|
rmmproc:
| Specifies the program used to remove messages from a folder.
|
$HOME/.mh_profile
| Contains the MH user profile.
|
/usr/bin/rmm
| Contains the rmm command.
|
The crontab command, rmf command.
The .mh_alias file format, .mh_profile file format.
Mail Overview
in AIX 5L Version 5.1 System User's Guide:
Communications and Networks.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]