[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
Commands Reference, Volume 4
rmm Command
Purpose
Removes messages from active status.
rmm [ + Folder ] [ Messages ]
Description
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.
Flags
| +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.
|
Examples
- 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
Profile Entries
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. |
Files
| $HOME/.mh_profile |
Contains the MH user profile. |
| /usr/bin/rmm |
Contains the rmm command. |
Related Information
The crontab command, rmf command.
The .mh_alias file format, .mh_profile file format.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]