RMM(1)
NAME
rmm - remove messages
SYNOPSIS
rmm [+folder] [msgs] [-version] [-help]
DESCRIPTION
By default, Rmm will remove the specified messages by
renaming the message files with preceding commas. Such
file will then need to be remove in some manner after a
certain amount of time. Many sites arrange for cron (8)
to remove such files once a day, so check with your system
administrator.
If you prefer a different method of `removing' messages,
you can define the rmmproc profile component. For exam-
ple, you can add a profile component such as
rmmproc: /bin/rm
then instead of simply renaming the message file, rmm will
call the named program to delete the file.
Some users of csh prefer the following:
alias rmm 'refile +d'
where folder +d is a folder for deleted messages, and
alias mexp 'rm `mhpath +d all`'
is used to "expunge" deleted messages.
The current message is not changed by rmm, so a next will
advance to the next message in the folder as expected.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
rmmproc: Program to delete the message
SEE ALSO
rmf(1)
DEFAULTS
`+folder' defaults to the current folder
`msgs' defaults to cur
CONTEXT
If a folder is given, it will become the current folder.
BUGS
Since refile uses your rmmproc to delete the message, the
rmmproc must NOT call refile without specifying `-normm-
proc', or you will create an infinte loop.