1 .TH POST %manext8% "July 8, 2014" "%nmhversion%"
6 post \- deliver a message
10 .B %nmhlibexecdir%/post
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 ]
50 is the default program called by
55 to local and remote users. In fact, most of
56 the features attributed to
58 in its manual page are performed by
62 acting as a relatively simple preprocessor.
65 which parses the various header fields, appends a
66 \*(lqDate:\*(rq line, and interacts with the mail transport system.
68 will not normally be called directly by the user.
71 searches the \*(lqTo:\*(rq, \*(lqcc:\*(rq, \*(lqBcc:\*(rq,
72 \*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq header lines of the specified
73 message for destination addresses, checks these addresses for validity,
74 and formats them so as to conform to ARPAnet Internet Message Format
77 flag is set. This will normally cause
78 \*(lq@\fIlocal\-site\fR\*(rq to be appended to each local destination
79 address, as well as any local return addresses. The
82 switch can be used to indicate the preferred length of the header
83 components that contain addresses.
85 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
86 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
87 sent to sighted recipients. The blind recipients will receive an entirely
88 new message with a minimal set of headers. Included in the body of the
89 message will be a copy of the message sent to the sighted recipients.
93 is specified, then this copy is filtered
96 prior to being sent to the blind recipients.
102 the MIME rules for encapsulation.
107 switch can be used to specify a file that post
108 should take aliases from. More than one file can be specified, each
111 In any event, the primary alias file is
116 switch indicates that a \*(lqMessage\-ID:\*(rq or
117 \*(lqResent\-Message\-ID:\*(rq field should be added to the header.
121 switch selects the style used for the part appearing after the @
122 in \*(lqMessage\-ID:\*(rq, \*(lqResent\-Message\-ID:\*(rq, and
123 \*(lqContent\-ID:\*(rq header fields. The two acceptable options are
125 (which is the default),
130 the local hostname is used. With
132 a random sequence of characters is used instead. Note that the
134 switch must be enabled for this switch to have any effect.
138 switch indicates that the user should be informed of
139 each step of the posting/filing process.
143 switch indicates that the user would like to watch the
144 transport system's handling of the message (e.g., local and \*(lqfast\*(rq
147 Under normal circumstances,
149 uses the \*(lqFrom:\*(rq line in the message draft as the identity of
150 the originating mailbox. A \*(lqFrom:\*(rq line is required in
151 all message draft. By default the message composition utilities such
157 will automatically place a \*(lqFrom:\*(rq line in the message draft.
158 There are two ways to override this behavior, however.
159 Note that they apply equally to \*(lqResent\-From:\*(rq lines in messages sent
163 The first way is to supply a \*(lqSender:\*(rq line. The value of this
164 field will be used as the originating mailbox identity when submitting the
165 message to the mail transport system. If multiple addresses are
166 given in the \*(lqFrom:\*(rq line, a \*(lqSender:\*(rq line is
168 If an \*(lqEnvelope-From:\*(rq line is supplied when multiple addresses
169 are given in the \*(lqFrom:\*(rq line, a \*(lqSender:\*(rq header will
170 be generated using the value of the \*(lqEnvelope-From:\*(rq line,
172 the \*(lqEnvelope-From:\*(rq line is not blank.
174 The second way is to supply a \*(lqEnvelope-From:\*(rq line. The value
175 of this field will be used as the originating mailbox identity when
176 submitting the message to the mail transport system. This will override
177 both the value of the \*(lqFrom:\*(rq line and a \*(lqSender:\*(rq line
178 (if one is supplied). The \*(lqEnvelope-From:\*(rq line is allowed to
179 have a blank value; if the value is blank, then the mail transport system
180 will be instructed to not send any bounces in response to the message.
181 Not all mail transport systems support this feature.
183 The mail transport system default is provided in
184 .I %nmhetcdir%/mts.conf
185 but can be overriiden here with the
189 If nmh is using as its mail transport system
193 switch can be used to override the default
197 If nmh is using the SMTP MTA, the
201 switches can be used to override the default mail server (defined by the
204 .I %nmhetcdir%/mts.conf
209 has been compiled with SASL support, the
213 switches will enable and disable
214 the use of SASL authentication with the SMTP MTA. Depending on the
215 SASL mechanism used, this may require an additional password prompt from the
218 file can be used to store this password, as described in the
219 mh-profile(5) man page). The
221 switch can be used to select a particular SASL mechanism,
224 switch can be used to select a authorization userid to provide to SASL
225 other than the default. The credentials profile entry in the
226 mh\-profile(5) man page describes the ways to supply a username and
229 If SASL authentication is successful,
231 will attempt to negotiate a security layer for session encryption.
232 Encrypted data is labelled with `(sasl-encrypted)' and `(sasl-decrypted)' when
233 viewing the SMTP transaction with the
237 switch can be used to select the maximum value of the Security Strength Factor.
238 This is an integer value and the exact meaning of this value depends on the
239 underlying SASL mechanism. A value of 0 disables encryption.
243 has been compiled with TLS support, the
247 switches will require the negotiation of TLS when
248 connecting to the SMTP MTA. The
250 switch will negotiate TLS as part of the normal SMTP protocol
251 using the STARTTLS command. The
253 will negotiate TLS immediately after the connection has
254 taken place, before any SMTP commands are sent or received. Encrypted data
255 is labelled with `(tls-encrypted)' and
256 `(tls-decrypted)' when viewing the SMTP transction with the
261 switch will disable all attempts to negotiate TLS.
263 If port 465 is specified and none of the TLS switches were enabled,
265 will be implied if TLS support was compiled in. Though port 465 for
266 SMTPS (SMTP over SSL) was deregistered by IANA in 1998, it is still
267 used for that service.
271 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
272 ^%nmhetcdir%/mts.conf~^nmh mts configuration file
273 ^%nmhetcdir%/MailAliases~^global nmh alias file
274 ^%bindir%/refile~^Program to process Fcc:s
275 ^%nmhlibexecdir%/mhl~^Program to process Bcc:s
277 .SH "PROFILE COMPONENTS"
291 .I "Standard for the Format of ARPA Internet Text Messages"
295 .RB ` \-alias "' defaults to %nmhetcdir%/MailAliases"
299 .RB ` "\-messageid\ localname" '
302 .RB ` "\-width\ 72" '
308 \*(lqReply\-To:\*(rq fields are allowed to have groups in them according
309 to the RFC 822 specification, but
311 won't let you use them.