4 .TH SEND %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
18 .RB [ \-nodraftfolder ]
22 .RB [ \-format " | " \-noformat ]
23 .RB [ \-forward " | " \-noforward ]
24 .RB [ \-mime " | " \-nomime ]
25 .RB [ \-msgid " | " \-nomsgid ]
26 .RB [ \-push " | " \-nopush ]
29 .RB [ \-verbose " | " \-noverbose ]
30 .RB [ \-watch " | " \-nowatch ]
34 .IR port-name/number ]
47 .IR header-field-name ]
49 .IR 0 " | " 1 " | " 2 ]
53 will cause each of the specified files to be delivered
54 to each of the destinations in the \*(lqTo:\*(rq, \*(lqcc:\*(rq,
55 \*(lqBcc:\*(rq, \*(lqDcc:\*(rq, and \*(lqFcc:\*(rq fields of the message. If
57 is re\-distributing a message, as invoked from
60 corresponding \*(lqResent\-xxx\*(rq fields are examined instead.
67 delivery of the messages, although this can be changed by defining the
69 profile component. Most of the features attributed to
71 are actually performed by
79 option, the draft is scanned for a header whose field name matches the
81 .IR header-field-name .
82 The draft is converted to a MIME message if one or more matches are found.
83 This conversion occurs before all other processing.
85 The first part of the MIME message is the draft body if that body contains
86 any non-blank characters.
87 The body of each header field whose name matches the
89 is interpreted as a file name, and each file named is included as a separate
90 part in the MIME message.
92 For file names with dot suffixes, the context is scanned for a
94 entry for that suffix.
95 The content-type for the part is taken from that context entry if a match is
97 If no match is found or the file does not have a dot suffix, the content-type
98 is text/plain if the file contains only ASCII characters or application/octet-stream
99 if it contains characters outside of the ASCII range.
101 Each part contains a name attribute that is the last component of the path name.
104 attribute containing the file mode accompanies each part.
105 Finally, a description attribute is generated by running the
111 option specifies the MIME header field formats: a value of
116 attribute as noted above. A value of
118 suppresses both that and the \*(lqContent-Description\*(rq header, and
119 adds a \*(lqContent-Disposition\*(rq header. A value of
123 parameter to the \*(lqContent-Disposition\*(rq header. You can
124 specify one value in your profile, and override it for individual
129 Here are example message part headers, for an attachment, for each of the
135 Content-Type: text/plain; name="VERSION"; x-unix-mode="0644";
137 Content-Description: ASCII text
140 Content-Type: text/plain; name="VERSION"; charset="us-ascii"
141 Content-Disposition: attachment; filename="VERSION"
144 Content-Type: text/plain; name="VERSION"; charset="us-ascii"
145 Content-Disposition: attachment; filename="VERSION"; modification-date="Mon, 19 Dec 2005 22:39:51 -0600"
152 will detach itself from the user's
153 terminal and perform its actions in the background. If
155 and the draft can't be sent, then an error message will be sent (using
156 the mailproc) back to the user. If
158 is given, then a copy
159 of the draft will be attached to this failure notice. Using
163 in the background because the output is
164 trapped and analyzed by
171 will indicate the interactions
172 occurring with the transport system, prior to actual delivery.
177 will monitor the delivery of local
178 and network mail. Hence, by specifying both switches, a large detail
179 of information can be gathered about each step of the message's entry
180 into the transport system.
191 draft folder facility. This is an advanced (and highly
192 useful) feature. Consult the
201 will split the draft into one
202 or more partial messages prior to sending. This makes use of the
210 then this switch is ignored\0--\0it makes
211 no sense to redistribute a message in this fashion. Sometimes you want
213 to pause after posting a partial message. This is usually
214 the case when you are running
216 and expect to generate a
217 lot of partial messages. The argument to
220 to pause between postings.
225 argument will query whether the draft
226 is the intended file, whereas
228 will suppress this question.
229 Once the transport system has successfully accepted custody of the
230 message, the file will be renamed with a leading comma, which allows
231 it to be retrieved until the next draft message is sent. If there are
232 errors in the formatting of the message,
235 (hopefully) helpful error message.
237 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
238 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
239 sent to sighted recipients. The blind recipients will receive an entirely
240 new message with a minimal set of headers. Included in the body of the
241 message will be a copy of the message sent to the sighted recipients.
243 If a \*(lqDcc:\*(rq field is encountered, its addresses will be used for
244 delivery, and the \*(lqDcc:\*(rq field will be removed from the message. The
245 blind recipients will receive the same message sent to the sighted
246 recipients. *WARNING* Recipients listed in the \*(lqDcc:\*(rq field receive no
247 explicit indication that they have received a \*(lqblind copy\*(rq.
248 This can cause blind recipients to
249 inadvertently reply to all of the sighted recipients of the
250 original message, revealing that they received a blind copy.
251 On the other hand, since a normal reply to a message sent
252 via a \*(lqBcc:\*(rq field
253 will generate a reply only to the sender of the original message,
254 it takes extra effort in most mailers to reply to the included
255 message, and so would usually only be done deliberately, rather
261 is specified, then this copy is filtered
264 prior to being sent to the blind recipients.
265 Alternately, if you specify the
270 use the MIME rules for encapsulation.
272 Prior to sending the message, the fields \*(lqFrom:\ user@local\*(rq,
273 and \*(lqDate:\ now\*(rq will be appended to the headers in the message.
274 If the environment variable
276 is set, then its value
277 is used as your personal name when constructing the \*(lqFrom:\*(rq
278 line of the message. If this environment variable is not set, then
280 will consult the profile entry \*(lqSignature\*(rq for
284 is specified, then a \*(lqMessage\-ID:\*(rq field will also
285 be added to the message.
289 is re\-distributing a message (when invoked by
291 then \*(lqResent\-\*(rq will be prepended to each of these
292 fields: \*(lqFrom:\*(rq, \*(lqDate:\*(rq, and \*(lqMessage\-ID:\*(rq.
293 If the message already contains a \*(lqFrom:\*(rq field, then a
294 \*(lqSender: user@local\*(rq field will be added as well. (An already
295 existing \*(lqSender:\*(rq field is an error!)
299 switch, each of the entries in the \*(lqTo:\*(rq
300 and \*(lqcc:\*(rq fields will be replaced with \*(lqstandard\*(rq
301 format entries. This standard format is designed to be usable by all
302 of the message handlers on the various systems around the Internet.
305 is given, then headers are output exactly as they appear
306 in the message draft.
308 If an \*(lqFcc:\ folder\*(rq is encountered, the message will be copied
309 to the specified folder for the sender in the format in which it will
310 appear to any non\-Bcc receivers of the message. That is, it will have
311 the appended fields and field reformatting. The \*(lqFcc:\*(rq fields
312 will be removed from all outgoing copies of the message.
317 switch, the user can direct
319 as to how long it should make header lines containing addresses.
321 If nmh is using the SMTP MTA, the
325 switches can be used to override the default mail server (defined by the
333 has been compiled with SASL support, the
336 the use of SASL authentication with the SMTP MTA. Depending on the
337 SASL mechanism used, this may require an additional password prompt from the
339 .RI \*(lq \&.netrc \*(rq
340 file can be used to store this password).
342 switch can be used to select a particular SASL mechanism,
345 switch can be used to select a authorization userid
346 to provide to SASL other than the default.
348 If SASL authentication is successful,
350 will attempt to negotiate a security layer for session encryption.
351 Encrypted data is labelled with `(encrypted)' and `(decrypted)' when
352 viewing the SMTP transaction with the
358 has been compiled with TLS support, the
360 switch will require the negotiation of TLS support when connecting to the
361 SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and
362 `(tls-decrypted)' when viewing the SMTP transction with the
366 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
367 additional alias files given by the
371 read (more than one file, each preceded by
376 for more information.
381 .ta \w'%etcdir%/ExtraBigFileName 'u
382 ^$HOME/\&.mh\(ruprofile~^The user profile
385 .SH "PROFILE COMPONENTS"
389 .ta \w'ExtraBigProfileName 'u
390 ^Path:~^To determine the user's nmh directory
391 ^Draft\-Folder:~^To find the default draft\-folder
392 ^Aliasfile:~^For a default alias file
393 ^Signature:~^To determine the user's mail signature
394 ^mailproc:~^Program to post failure notices
395 ^postproc:~^Program to post the message
399 comp(1), dist(1), forw(1), repl(1), mh\-alias(5), post(8)
403 .RB ` file "' defaults to <mh\-dir>/draft"
404 .RB ` \-alias "' defaults to %etcdir%/MailAliases"
405 .RB ` \-nodraftfolder '
414 .RB ` "\-width\ 72" '
415 .RB ` "\-attachformat\ 0" '
422 Under some configurations, it is not possible to monitor the mail delivery
425 is a no-op on those systems.
430 doesn't work correctly.