]> diplodocus.org Git - nmh/blob - docs/historical/2.9BSD/man/dist.1
Added test of encoded Resent-To: and Resent-cc:.
[nmh] / docs / historical / 2.9BSD / man / dist.1
1 .TH DIST 1 "3 August 1983"
2 .UC 4
3 .SH NAME
4 dist \- redistribute a message to additional addresses
5 .SH SYNOPSIS
6 .B dist
7 [ +folder ] [ msg ] [ \-form formfile ] [ \-editor editor ]
8 [ \-annotate ] [ \-noannotate ]
9 [ \-inplace ] [ \-noinplace ] [ \-help ]
10 .SH DESCRIPTION
11 \fIDist\fR is similar to \fIforw\fR.
12 It prepares the specified
13 message for redistribution to addresses that (presumably) are
14 not on the original address list.
15 The file \*(lqdistcomps\*(rq in the
16 user's MH directory, or a standard form, or the file specified by
17 `\-form formfile' will be used as the blank components file to
18 be prepended to the message being distributed.
19 The standard form
20 has the components \*(lqDistribute-to:\*(rq and \*(lqDistribute-cc:\*(rq.
21 When
22 the message is sent, \*(lqDistribution-Date:\0date\*(rq,
23 \*(lqDistribution-From:\0name\*(rq, and
24 \*(lqDistribution-Id:\0id\*(rq (if `\-msgid' is
25 specified to \fIsend\fR;) will be prepended to the outgoing message.
26 Only those addresses in \*(lqDistribute-To\*(rq, \*(lqDistribute-cc\*(rq, and
27 \*(lqDistribute-Bcc\*(rq will be sent.
28 Also, a \*(lqDistribute-Fcc:\0folder\*(rq
29 will be honored (see \fIsend;\fR).
30 .PP
31 \fISend\fR recognizes a message as a redistribution message by the
32 existence of the field \*(lqDistribute-To:\*(rq, so don't try to
33 redistribute a message with only a \*(lqDistribute-cc:\*(rq.
34 .PP
35 If the `\-annotate' switch is given, each message being
36 distributed will be annotated with the lines:
37 .nf
38
39 Distributed:\0\*(<<date\*(>>
40 Distributed:\0Distribute-to: names
41
42 .fi
43 where each \*(lqto\*(rq list contains as many lines as required.
44 This annotation
45 will be done only if the message is sent directly from \fIdist\fR.
46 If the
47 message is not sent immediately from \fIdist\fR (i.e., if it is sent later
48 via \fIsend;\fR),
49 \*(lqcomp \-use\*(rq may be used to re-edit and send the constructed message,
50 but the annotations won't take place.
51 The '\-inplace' switch causes annotation to
52 be done in place in order to preserve links to the annotated message.
53 .PP
54 See \fIcomp\fR for a description of the `\-editor' switch and for options
55 upon exiting from the editor.
56 .PP
57 If a +folder is specified, it will become the current
58 folder, and the current message will be set to the message
59 being redistributed.
60 .SH FILES
61 .nf
62 .ta \w'or <mh-dir>/components 'u
63 /etc/mh/components The message skeleton
64 or <mh-dir>/components Rather than the standard skeleton
65 $HOME/\*.mh\(ruprofile The user profile
66 <mh-dir>/draft The default message file
67 /usr/bin/send To send the composed message
68 .fi
69 .SH "PROFILE COMPONENTS"
70 .nf
71 .ta \w'<lasteditor>\-next: 'u
72 Path: To determine the user's MH directory
73 Editor: To override the use of /bin/ned as the default editor
74 <lasteditor>\-next: editor to be used after exit from <lasteditor>
75 .fi
76 .SH DEFAULTS
77 .nf
78 `+folder' defaults to the current folder
79 `msg' defaults to cur
80 `\-editor' defaults to /bin/ned
81 `\-noannotate'
82 `\-noinplace'
83 .fi