1 .TH POST %manext8% "April 14, 2013" "%nmhversion%"
6 post \- deliver a message
16 .RB [ \-format " | " \-noformat ]
17 .RB [ \-mime " | " \-nomime ]
18 .RB [ \-msgid " | " \-nomsgid ]
20 .IR localname " | " random ]
21 .RB [ \-verbose " | " \-noverbose ]
22 .RB [ \-watch " | " \-nowatch ]
26 .IR smtp " | " sendmail/smtp " | " sendmail/pipe ]
48 is the default program called by
53 to local and remote users. In fact, most of
54 the features attributed to
56 in its manual page are performed by
60 acting as a relatively simple preprocessor.
63 which parses the various header fields, appends a
64 \*(lqDate:\*(rq line, and interacts with the mail transport system.
66 will not normally be called directly by the user.
69 searches the \*(lqTo:\*(rq, \*(lqcc:\*(rq, \*(lqBcc:\*(rq,
70 \*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq header lines of the specified
71 message for destination addresses, checks these addresses for validity,
72 and formats them so as to conform to ARPAnet Internet Message Format
75 flag is set. This will normally cause
76 \*(lq@\fIlocal\-site\fR\*(rq to be appended to each local destination
77 address, as well as any local return addresses. The
80 switch can be used to indicate the preferred length of the header
81 components that contain addresses.
83 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
84 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
85 sent to sighted recipients. The blind recipients will receive an entirely
86 new message with a minimal set of headers. Included in the body of the
87 message will be a copy of the message sent to the sighted recipients.
91 is specified, then this copy is filtered
94 prior to being sent to the blind recipients.
100 the MIME rules for encapsulation.
105 switch can be used to specify a file that post
106 should take aliases from. More than one file can be specified, each
109 In any event, the primary alias file is
114 switch indicates that a \*(lqMessage\-ID:\*(rq or
115 \*(lqResent\-Message\-ID:\*(rq field should be added to the header.
119 switch selects the style used for the part appearing after the @
120 in \*(lqMessage\-ID:\*(rq, \*(lqResent\-Message\-ID:\*(rq, and
121 \*(lqContent\-ID:\*(rq header fields. The two acceptable options are
123 (which is the default),
128 the local hostname is used. With
130 a random sequence of characters is used instead. Note that the
132 switch must be enabled for this switch to have any effect.
136 switch indicates that the user should be informed of
137 each step of the posting/filing process.
141 switch indicates that the user would like to watch the
142 transport system's handling of the message (e.g., local and \*(lqfast\*(rq
145 Under normal circumstances,
147 uses the \*(lqFrom:\*(rq line in the message draft as the identity of
148 the originating mailbox. A \*(lqFrom:\*(rq line is required in
149 all message draft. By default the message composition utilities such
155 will automatically place a \*(lqFrom:\*(rq line in the message draft.
156 There are two ways to override this behavior, however.
157 Note that they apply equally to \*(lqResent\-From:\*(rq lines in messages sent
161 The first way is to supply a \*(lqSender:\*(rq line. The value of this
162 field will be used as the originating mailbox identity when submitting the
163 message to the mail transport system. If multiple addresses are
164 given in the \*(lqFrom:\*(rq line, a \*(lqSender:\*(rq line is
166 If an \*(lqEnvelope-From:\*(rq line is supplied when multiple addresses
167 are given in the \*(lqFrom:\*(rq line, a \*(lqSender:\*(rq header will
168 be generated using the value of the \*(lqEnvelope-From:\*(rq line,
170 the \*(lqEnvelope-From:\*(rq line is not blank.
172 The second way is to supply a \*(lqEnvelope-From:\*(rq line. The value
173 of this field will be used as the originating mailbox identity when
174 submitting the message to the mail transport system. This will override
175 both the value of the \*(lqFrom:\*(rq line and a \*(lqSender:\*(rq line
176 (if one is supplied). The \*(lqEnvelope-From:\*(rq line is allowed to
177 have a blank value; if the value is blank, then the mail transport system
178 will be instructed to not send any bounces in response to the message.
179 Not all mail transport systems support this feature.
181 The mail transport system default is provided in
183 but can be overriiden here with the
187 If nmh is using the SMTP MTA, the
191 switches can be used to override the default mail server (defined by the
199 has been compiled with SASL support, the
203 switches will enable and disable
204 the use of SASL authentication with the SMTP MTA. Depending on the
205 SASL mechanism used, this may require an additional password prompt from the
208 file can be used to store this password, as described in the
209 mh-profile(5) man page). The
211 switch can be used to select a particular SASL mechanism,
214 switch can be used to select a authorization userid to provide to SASL
215 other than the default. The credentials profile entry in the
216 mh_profile(5) man page describes the ways to supply a username and
219 If SASL authentication is successful,
221 will attempt to negotiate a security layer for session encryption.
222 Encrypted data is labelled with `(sasl-encrypted)' and `(sasl-decrypted)' when
223 viewing the SMTP transaction with the
227 switch can be used to select the maximum value of the Security Strength Factor.
228 This is an integer value and the exact meaning of this value depends on the
229 underlying SASL mechanism. A value of 0 disables encryption.
233 has been compiled with TLS support, the
237 switches will require the negotiation of TLS when
238 connecting to the SMTP MTA. The
240 switch will negotiate TLS as part of the normal SMTP protocol
241 using the STARTTLS command. The
243 will negotiate TLS immediately after the connection has
244 taken place, before any SMTP commands are sent or received. Encrypted data
245 is labelled with `(tls-encrypted)' and
246 `(tls-decrypted)' when viewing the SMTP transction with the
251 switch will disable all attempts to negotiate TLS.
255 .ta \w'%etcdir%/ExtraBigFileName 'u
256 ^%etcdir%/mts.conf~^nmh mts configuration file
257 ^%etcdir%/MailAliases~^global nmh alias file
258 ^%bindir%/refile~^Program to process Fcc:s
259 ^%libdir%/mhl~^Program to process Bcc:s
261 .SH "PROFILE COMPONENTS"
275 .I "Standard for the Format of ARPA Internet Text Messages"
279 .RB ` \-alias "' defaults to %etcdir%/MailAliases"
283 .RB ` "\-messageid\ localname" '
286 .RB ` "\-width\ 72" '
292 \*(lqReply\-To:\*(rq fields are allowed to have groups in them according
293 to the RFC 822 specification, but
295 won't let you use them.