1 .\" This file is automatically generated. Do not edit!
2 .\" @(#)$Id: dist.rf,v 1.5 90/04/05 15:12:30 sources Exp $
5 dist \- redistribute a message to additional addresses
9 \%[\-annotate] \%[\-noannotate]
10 \%[\-draftfolder\ +folder] \%[\-draftmessage\ msg] \%[\-nodraftfolder]
11 \%[\-editor\ editor] \%[\-noedit]
13 \%[\-inplace] \%[\-noinplace]
14 \%[\-whatnowproc\ program] \%[\-nowhatnowproc]
17 \fIDist\fR is similar to \fIforw\fR.
18 It prepares the specified
19 message for redistribution to addresses that (presumably) are
20 not on the original address list.
22 The default message form contains the following elements:
28 .so /opt/mh-6.8.5/lib/distcomps
33 If the file named \*(lqdistcomps\*(rq exists in the user's MH directory,
34 it will be used instead of this form.
35 In either case, the file specified by `\-form\ formfile' will be
37 The form used will be prepended to the message being resent.
39 If the draft already exists,
40 \fIdist\fR will ask you as to the disposition of the draft.
41 A reply of \fBquit\fR will abort \fIdist\fR, leaving the draft intact;
42 \fBreplace\fR will replace the existing draft with a blank skeleton;
43 and \fBlist\fR will display the draft.
45 Only those addresses in \*(lqResent\-To:\*(rq, \*(lqResent\-cc:\*(rq, and
46 \*(lqResent\-Bcc:\*(rq will be sent.
47 Also, a \*(lqResent\-Fcc:\ folder\*(rq will be honored (see \fIsend\fR\0(1)).
48 Note that with \fIdist\fR, the draft should contain only
49 \*(lqResent\-xxx:\*(rq fields and no body.
50 The headers and the body of the original message are copied to the draft when
52 Use care in constructing the headers for the redistribution.
54 If the `\-annotate' switch is given, the message being
55 distributed will be annotated with the lines:
60 where each address list contains as many lines as required.
62 will be done only if the message is sent directly from \fIdist\fR.
63 If the message is not sent immediately from \fIdist\fR,
64 \*(lqcomp \-use\*(rq may be used to re\-edit and send the constructed message,
65 but the annotations won't take place.
66 The '\-inplace' switch causes annotation to
67 be done in place in order to preserve links to the annotated message.
69 See \fIcomp\fR\0(1) for a description of the `\-editor' and `\-noedit'
71 Note that while in the editor,
72 the message being resent is available through a link named \*(lq@\*(rq
73 (assuming the default \fIwhatnowproc\fR\0).
74 In addition, the actual pathname of the message is stored in the envariable
76 and the pathname of the folder containing the message is stored in the
77 envariable \fB$mhfolder\fR.
79 The `\-draftfolder\ +folder' and `\-draftmessage\ msg' switches invoke the
80 \fIMH\fR draft folder facility.
81 This is an advanced (and highly useful) feature.
82 Consult the \fBAdvanced Features\fR section of the \fIMH\fR manual for more
85 Upon exiting from the editor,
86 \fIdist\fR will invoke the \fIwhatnow\fR program.
87 See \fIwhatnow\fR\0(1) for a discussion of available options.
88 The invocation of this program can be inhibited by using the `\-nowhatnowproc'
91 it is the \fIwhatnow\fR program which starts the initial edit.
92 Hence, `\-nowhatnowproc' will prevent any edit from occurring.)
94 ^/opt/mh-6.8.5/lib/distcomps~^The message skeleton
95 ^or <mh\-dir>/distcomps~^Rather than the standard skeleton
96 ^$HOME/\&.mh\(ruprofile~^The user profile
97 ^<mh\-dir>/draft~^The draft file
99 ^Path:~^To determine the user's MH directory
101 ^Current\-Folder:~^To find the default current folder
103 ^Draft\-Folder:~^To find the default draft\-folder
105 ^Editor:~^To override the default editor
107 ^fileproc:~^Program to refile the message
109 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
111 comp(1), forw(1), repl(1), send(1), whatnow(1)
113 `+folder' defaults to the current folder
115 `msg' defaults to cur
123 If a folder is given, it will become the current folder.
124 The message distributed will become the current message.
126 \fIDist\fR originally used headers of the form \*(lqDistribute\-xxx:\*(rq
127 instead of \*(lqResent\-xxx:\*(rq. In order to conform with the
128 ARPA Internet standard, RFC\-822,
129 the \*(lqResent\-xxx:\*(rq form is now used.
130 \fIDist\fR will recognize \*(lqDistribute\-xxx:\*(rq type headers and
131 automatically convert them to \*(lqResent\-xxx:\*(rq.
133 \fIDist\fR does not \fIrigorously\fR check the message being
134 distributed for adherence to the transport standard,
135 but \fIpost\fR called by \fIsend\fR does.
136 The \fIpost\fR program will balk (and rightly so) at poorly formatted messages,
137 and \fIdist\fR won't correct things for you.
139 If \fIwhatnowproc\fR is \fIwhatnow\fR,
140 then \fIdist\fR uses a built\-in \fIwhatnow\fR,
141 it does not actually run the \fIwhatnow\fR program.
142 Hence, if you define your own \fIwhatnowproc\fR,
143 don't call it \fIwhatnow\fR since \fIdist\fR won't run it.
145 If your current working directory is not writable,
146 the link named \*(lq@\*(rq is not available.