RMM(1)

NAME
rmm - remove messages

SYNOPSIS
rmm [+folder] [msgs] [-help]

DESCRIPTION
Rmm removes the specified messages by renaming the message files with preceding commas. Many sites consider files that start with a comma to be a temporary backup, and arrange for cron (8) to remove such files once a day. If the user has 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. Note that at most installations, cron (8) is told to remove files that begin with a comma once a night. 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.
$HOME/.mh_profile    The user profile
Path:    To determine the user's MH directory
Current-Folder:    To find the default current folder
rmmproc:    Program to delete the message
rmf(1) `+folder' defaults to the current folder `msgs' defaults to cur If a folder is given, it will become the current folder. Since refile uses your rmmproc to delete the message, the rmmproc must NOT call refile without specifying `-normmproc', or you will create an infinte loop.