4 .TH REPL %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 repl \- reply to a message
13 .RB [ \-annotate " | " \-noannotate ]
14 .RB [ \-group " | " \-nogroup ]
19 .RB [ \-query " | " \-noquery ]
24 .RB " | " \-nofilter ]
25 .RB [ \-mime " | " \-nomime ]
38 may be used to produce a reply to an existing message.
40 In its simplest form (with no arguments),
43 message\-form skeleton in reply to the current message in the current
44 folder, and invoke the whatnow shell.
46 In order to construct the message draft of the reply,
49 a reply template to guide its actions. A reply template is simply a
57 is given (it is on by default), then
59 will use the standard forms file `replcomps'. This will construct
60 a draft message that is intended to be sent only to the author of the
61 message to which you are replying. If a file named `replcomps'
64 directory, it will be used instead of this
67 The default reply template `replcomps' will direct
69 to construct the reply message draft as follows:
73 To: <Mail\-Reply\-To> or <Reply\-To> or <From>
74 Cc: <To> and <Cc> and <personal address>
76 Subject: Re: <Subject>
77 In\-Reply\-To: <Message\-Id>
78 References: <Message\-Id>
79 Comments: In\-Reply\-To <From> or <apparently from> or <Sender>
86 where field names enclosed in angle brackets (<\ >) indicate the
87 contents of the named field from the message to which the reply is
90 By default, the `Cc:' field is empty. You may selectively add
91 addresses to this default with the
94 switch. This switch takes an
96 .IR all / to / cc / me )
97 which specifies who gets added to the default
98 `Cc:' list of the reply. You may give this switch multiple times (with
99 different arguments) if you wish to add multiple types of addresses.
106 standard forms file `replgroupcomps'. This will construct a
107 draft message that is intended as a group or followup reply. If a file
108 named `replgroupcomps' exists in the user's mmh directory, it
109 will be used instead of this default forms file.
111 The default group reply template `replgroupcomps' will direct
113 to construct the reply message draft as follows:
117 To: <Mail\-Followup\-To>
118 Subject: Re: <Subject>
119 In\-Reply\-To: Message from <From> of <Date>.
120 .ti +\w'In\-Reply\-To: 'u
126 or if the field <Mail\-Followup\-To> is not available:
130 To: <Mail\-Reply\-To> or <Reply\-To> or <From>
131 Cc: <To> and <Cc> and <personal address>
132 Subject: Re: <Subject>
133 In\-Reply\-To: Message from <From> of <Date>.
134 .ti +\w'In\-Reply\-To: 'u
140 By default, the `Cc:' contains all the addresses shown. You may
141 selectively remove addresses from this default with the
145 This switch takes an argument (
146 .IR all / to / cc / me )
147 which specifies who gets removed
148 from the default `Cc:' list of the reply. You may give this switch
149 multiple times (with different arguments) if you wish to remove multiple types
152 In any case, you may specify an alternate forms file with the switch
158 switch modifies the action of
162 interactively asking you if each address that normally would be placed in
163 the `To:' and `Cc:' list should actually be sent a copy.
164 This is useful for special\-purpose replies. Note that the position of
169 switches, like all other switches which take a
170 positive and negative form, is important.
172 Lines beginning with the fields `To:', `Cc:', and
173 `Bcc:' will be standardized and have duplicate addresses removed.
174 In addition, these fields will be wrapped at a reasonable length.
178 for a description of the
180 switch. Note that while in the editor,
181 the actual pathname of the message being replied to is
182 stored in the environment variable
185 the folder containing the message is stored in the environment variable
190 uses a forms file to direct it how to construct
191 the beginning of the draft, it uses a message filter file to direct
192 it as to how the message to which you are replying should be filtered
193 (re\-formatted) in the body of the draft. The filter file for
195 should be a standard form file for
201 to format the message to which you are replying.
203 By default, the original message gets filtered
204 through a default message filter file and then included into the draft body
206 This should be adequate for most users.
217 which outputs each line of the body of the message prefaced with the
218 `>' character and a space.
224 it will be used instead of this form.
226 You may specify an alternate message filter file with the switch
230 Other reply filters are commonly used, such as:
235 body:nocomponent,compwidth=9,offset=9
239 which says to output a blank line and then the body of the message
240 being replied\-to, indented by one tab\-stop. Another popular format
245 message-id:nocomponent,\|nonewline,\\
246 formatfield=`In message %{text},\ '
247 from:nocomponent,\|formatfield=`%(decode(friendly{text})) writes:'
248 body:component=`>',\|overflowtext=`>',\|overflowoffset=0
252 This message filter file cites the Message-ID and author of the message
253 being replied\-to, and then outputs each line of the body prefaced with
258 is given, then the message
259 to which you are replying will not be formatted and thus not included in
260 the body of the draft.
261 (It may be added as MIME attachment with
265 To MIME-attach the original message, specify the
268 Note: In mmh, the \-mime switch is unrelated to
269 the \-filter and \-nofilter switches.
270 It is therefore possible to have the original message quoted in the body
272 attached as MIME part.
273 However, using the \-mime switch is discouraged.
274 It may get removed in the future.
278 switch is given, the message being replied\-to will
279 be annotated with the line:
287 The annotation will be done only if the message is sent directly from
289 If the message is not sent immediately from
291 .RB ` "comp\ \-use" '
292 may be used to re\-edit and send the constructed
293 message, but the annotations won't take place. Annotations are always
294 done inplace in order to preserve any links to the message.
296 The default template specifies that a copy of the reply will be
300 To avoid reiteration,
302 strips any leading `Re: ' strings from
312 Upon exiting from the editor,
318 for a discussion of available
323 switch is intended to be used by the Emacs mh-e interface
327 .I reply (in the mail storage root)
328 to be created, containing the draft message that would normally be presented
329 to the user for editing.
333 No mail is actually sent.
338 switch specifies the message to be replied to as an
339 exact filename rather than as an
341 folder and message number. It is
342 intended to be used by the
346 The same caveats apply to this option as to the
353 .ta \w'%etcdir%/ExtraBigFileName 'u
354 ^%etcdir%/replcomps~^The standard reply template
355 ^or $HOME/.mmh/replcomps~^Rather than the standard template
356 ^%etcdir%/replgroupcomps~^The standard `reply \-group' template
357 ^or $HOME/.mmh/replgroupcomps~^Rather than the standard template
358 ^%etcdir%/mhl.reply~^The standard message filter
359 ^or $HOME/.mmh/mhl.reply~^Rather than the standard filter
360 ^$HOME/.mmh/profile~^The user profile
361 ^+drafts~^The draft folder
364 .SH "PROFILE COMPONENTS"
368 .ta \w'ExtraBigProfileName 'u
369 ^Path:~^To determine the user's mail storage
370 ^Alternate\-Mailboxes:~^To determine the user's mailboxes
371 ^Current\-Folder:~^To find the default current folder
372 ^Draft\-Folder:~^To set the default draft\-folder
373 ^Editor:~^To override the default editor
374 ^Msg\-Protect:~^To set mode when creating a new message (draft)
375 ^whatnowproc:~^Program to ask the `What now?' questions
379 mhbuild(1), comp(1), forw(1), send(1), whatnow(1), mh\-format(5)
383 .RB ` +folder "' defaults to the current folder"
384 .RB ` msg "' defaults to the current message"
386 .RB ` "\-nocc\ all" "' with `\-nogroup', `\-cc\ all' with `\-group'"
393 If a folder is given, it will become the current folder. The message
394 replied\-to will become the current message.
397 If any addresses occur in the reply template, addresses in the template
398 that do not contain hosts are defaulted incorrectly. Instead of using
399 the localhost for the default,
401 uses the sender's host.
402 Moral of the story: if you're going to include addresses in a reply
403 template, include the host portion of the address.
405 The quotation of the original message does not get transfer-decoded, yet.