0
|
1 .\" @(MHWARNING)
|
|
2 .\" @(#)$Id$
|
|
3 .SC POST 8
|
|
4 .NA
|
|
5 post \- deliver a message
|
|
6 .SY
|
|
7 @(MHETCPATH)/post
|
|
8 \%[\-alias\ aliasfile]
|
|
9 \%[\-filter\ filterfile] \%[\-nofilter]
|
|
10 @BEGIN: TMA
|
|
11 \%[\-encrypt] \%[\-noencrypt]
|
|
12 @END: TMA
|
|
13 \%[\-format] \%[\-noformat]
|
|
14 @BEGIN: MIME
|
|
15 \%[\-mime] \%[\-nomime]
|
|
16 @END: MIME
|
|
17 \%[\-msgid] \%[\-nomsgid]
|
|
18 \%[\-verbose] \%[\-noverbose]
|
|
19 \%[\-watch] \%[\-nowatch]
|
|
20 \%[\-width\ columns]
|
|
21 file
|
|
22 \%[\-help]
|
|
23 .DE
|
|
24 \fIPost\fR is the program called by \fIsend\fR\0(1)
|
|
25 to deliver the message in \fIfile\fR to local and remote users.
|
|
26 In fact, all of the functions attributed to \fIsend\fR
|
|
27 on its manual page are performed by \fIpost\fR,
|
|
28 with \fIsend\fR acting as a relatively simple preprocessor.
|
|
29 Thus, it is \fIpost\fR which parses the various header fields,
|
|
30 appends From: and Date: lines,
|
|
31 @BEGIN: MMDFMTS
|
|
32 and interacts with the \fIMMDF\fR transport system.
|
|
33 @END: MMDFMTS
|
|
34 @BEGIN: MHMTS
|
|
35 and delivers and/or queues the messages.
|
|
36 @END: MHMTS
|
|
37 @BEGIN: SENDMTS
|
|
38 and interacts with the \fISendMail\fR transport system.
|
|
39 @END: SENDMTS
|
|
40 \fIPost\fR will not normally be called directly by the user.
|
|
41
|
|
42 \fIPost\fR
|
|
43 searches the \*(lqTo:\*(rq, \*(lqcc:\*(rq, \*(lqBcc:\*(rq, \*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq
|
|
44 header lines of
|
|
45 the specified message for destination addresses, checks these
|
|
46 addresses for validity, and formats them so as to conform to
|
|
47 ARPAnet Internet Message Format protocol,
|
|
48 unless the `\-noformat' flag is set.
|
|
49 This will normally cause \*(lq@\fIlocal\-site\fR\*(rq to
|
|
50 be appended to each local destination address, as well
|
|
51 as any local return addresses.
|
|
52 The `\-width\ columns' switch can be used to indicate the preferred length
|
|
53 of the header components that contain addresses.
|
|
54
|
|
55 If a \*(lqBcc:\*(rq field is encountered,
|
|
56 its addresses will be used for delivery,
|
|
57 and the \*(lqBcc:\*(rq field will be removed from the message sent to sighted
|
|
58 recipients.
|
|
59 The blind recipients will receive an entirely new message with
|
|
60 a minimal set of headers.
|
|
61 Included in the body of the message will be a copy of the message sent to the
|
|
62 sighted recipients.
|
|
63 If `\-filter\ filterfile' is specified,
|
|
64 then this copy is filtered (re\-formatted)
|
|
65 prior to being sent to the blind recipients.
|
|
66 @BEGIN: MIME
|
|
67 Otherwise,
|
|
68 to use the MIME rules for encapsulation,
|
|
69 specify the `\-mime' switch.
|
|
70 @END: MIME
|
|
71
|
|
72 The `\-alias\ aliasfile' switch can be used to specify a file that post should
|
|
73 take aliases from. More than one file can be specified, each being preceded
|
|
74 with `\-alias'.
|
|
75 In any event,
|
|
76 the primary alias file is read first.
|
|
77
|
|
78 The `\-msgid' switch indicates that
|
|
79 a \*(lqMessage\-ID:\*(rq or \*(lqResent\-Message\-ID:\*(rq
|
|
80 field should be added to the header.
|
|
81
|
|
82 The `\-verbose' switch indicates that the user should be informed of each
|
|
83 step of the posting/filing process.
|
|
84
|
|
85 The `\-watch' switch indicates that the user would like to watch the transport
|
|
86 system's handling of the message (e.g., local and \*(lqfast\*(rq delivery).
|
|
87
|
|
88 \fIPost\fR consults the envariable \fB$SIGNATURE\fR to
|
|
89 determine the sender's personal name in constructing the \*(lqFrom:\*(rq line
|
|
90 of the message.
|
|
91 .Fi
|
|
92 ^@(MHETCPATH)/mtstailor~^tailor file
|
|
93 ^@(MHBINPATH)/refile~^Program to process Fcc:s
|
|
94 ^@(MHETCPATH)/mhl~^Program to process Bcc:s
|
|
95 ^@(MHETCPATH)/MailAliases~^Primary alias file
|
|
96 .Pr
|
|
97 \fIpost\fR does \fBNOT\fR consult the user's \&.mh\(ruprofile
|
|
98 .Sa
|
|
99 \fIStandard for the Format of ARPA Internet Text Messages\fR (aka RFC\-822),
|
|
100 .br
|
|
101 mhmail(1), send(1), mh\-mail(5), mh\-alias(5)
|
|
102 .De
|
|
103 `\-alias @(MHETCPATH)/MailAliases'
|
|
104 @BEGIN: TMA
|
|
105 `\-noencrypt'
|
|
106 @END: TMA
|
|
107 .Ds
|
|
108 `\-format'
|
|
109 @BEGIN: MIME
|
|
110 .Ds
|
|
111 `\-nomime'
|
|
112 @END: MIME
|
|
113 .Ds
|
|
114 `\-nomsgid'
|
|
115 .Ds
|
|
116 `\-noverbose'
|
|
117 .Ds
|
|
118 `\-nowatch'
|
|
119 .Ds
|
|
120 `\-width\ 72'
|
|
121 .Ds
|
|
122 `\-nofilter'
|
|
123 .Co
|
|
124 None
|
|
125 .Bu
|
|
126 \*(lqReply\-To:\*(rq fields are allowed to have groups in them according to the
|
|
127 822 specification,
|
|
128 but \fIpost\fR won't let you use them.
|
|
129 .En
|