.\" @(#)$Id: rmm.rf,v 1.10 91/01/25 15:22:28 mh Exp $
rmm \- remove messages
\%[+folder] \%[msgs]
\fIRmm\fR 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 \fIcron\fR\0(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,
will call the named program to delete the file.
Note that at most installations, 
\fIcron\fR\0(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 \*(lqexpunge\*(rq deleted messages.

The current message is not changed by \fIrmm\fR, so a \fInext\fR  will
advance to the next message in the folder as expected.
^$HOME/\&.mh\(ruprofile~^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
`+folder' defaults to the current folder
`msgs' defaults to cur
If a folder is given, it will become the current folder.
Since \fIrefile\fR uses your \fIrmmproc\fP to delete the message,
the \fIrmmproc\fP must \fBNOT\fP call \fIrefile\fP without
specifying `\-normmproc',
or you will create an infinte loop.