1 .TH RMM %manext1% 2013-03-19 "%nmhversion%"
6 rmm \- remove nmh messages
15 .RB [ \-unlink " | " \-nounlink ]
23 will remove the specified messages by renaming each of the message files
24 with a site-dependent prefix (usually a comma).
25 Such files will then need to be removed in some manner after a period of
27 Many sites arrange for
29 to remove these files once a day, so check with your system administrator.
31 Alternately, if you wish for
33 to really remove the files representing these messages, you can use the
36 But messages removed by this method cannot be later recovered.
38 If you prefer a more sophisticated method of `removing' messages, you
42 For example, you can add a profile component such as
45 rmmproc: /home/foouser/bin/rmm_msgs
48 Then instead of simply renaming the message file,
50 will call the named program or script to handle the files that
51 represent the messages to be deleted.
54 switch may be used to override this profile component. The
56 switch disables the use of any
58 profile component and negates all prior
64 script that saves a message based in its Message-ID is provided in
65 %nmhetcdir%/rmmproc.messageid. To enable it, simply add an
67 component that names it, to your profile.
77 where folder `+d' is a folder for deleted messages, and
80 alias mexp 'rm `mhpath +d all`'
83 is used to \*(lqexpunge\*(rq deleted messages.
85 The current message is not changed by
89 will advance to the next message in the folder as expected.
93 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
94 ^$HOME/.mh_profile~^The user profile
96 .SH "PROFILE COMPONENTS"
100 .ta \w'ExtraBigProfileName 'u
101 ^Path:~^To determine the user's nmh directory
102 ^Current\-Folder:~^To find the default current folder
103 ^rmmproc:~^Program to delete the message
109 .RB ` +folder "' defaults to the current folder"
110 .RB ` msgs "' defaults to cur"
114 If a folder is given, it will become the current folder.
122 to delete the message, the
132 or you will create an infinite loop.