]> diplodocus.org Git - nmh/blob - man/mhbuild.man
More cleaned and conversion to the new parameter API.
[nmh] / man / mhbuild.man
1 .TH MHBUILD %manext1% "January 23, 2014" "%nmhversion%"
2 .\"
3 .\" %nmhwarning%
4 .\"
5 .SH NAME
6 mhbuild \- translate MIME composition draft
7 .SH SYNOPSIS
8 .na
9 .HP 5
10 .B mhbuild
11 .I file
12 .RB [ \-auto " | " \-noauto ]
13 .RB [ \-list " | " \-nolist ]
14 .RB [ \-realsize " | " \-norealsize ]
15 .RB [ \-headers " | " \-noheaders ]
16 .RB [ \-directives " | " \-nodirectives ]
17 .RB [ \-rfc934mode " | " \-norfc934mode ]
18 .RB [ \-contentid " | " \-nocontentid ]
19 .RB [ \-verbose " | " \-noverbose ]
20 .RB [ \-check " | " \-nocheck ]
21 .RB [ \-headerencoding
22 .IR encoding\-algorithm
23 .RB " | " \-autoheaderencoding ]
24 .RB [ \-maxunencoded
25 .IR line\-length ]
26 .RB [ \-dist ]
27 .RB [ \-version ]
28 .RB [ \-help ]
29 .ad
30 .SH DESCRIPTION
31 The
32 .B mhbuild
33 command will translate a MIME composition draft into
34 a valid MIME message.
35 .PP
36 .B mhbuild
37 creates multi-media messages as specified in RFC 2045
38 to RFC 2049. This includes the encoding of message headers as specified
39 by RFC 2047.
40 .PP
41 If you specify the name of the composition file as \*(lq-\*(rq,
42 then
43 .B mhbuild
44 will accept the composition draft on the standard
45 input. If the translation of this input is successful,
46 .B mhbuild
47 will output the new MIME message to the standard output. This argument
48 must be the last argument on the command line.
49 .PP
50 Otherwise if the file argument to
51 .B mhbuild
52 is the name of a valid
53 composition file, and the translation is successful,
54 .B mhbuild
55 will replace the original file with the new MIME message. It will rename
56 the original file to start with the \*(lq,\*(rq character and end with the
57 string \*(lq.orig\*(rq, e.g., if you are editing the file \*(lqdraft\*(rq,
58 it will be renamed to \*(lq,draft.orig\*(rq. This allows you to easily
59 recover the
60 .B mhbuild
61 input file.
62 .SS "Listing the Contents"
63 The
64 .B \-list
65 switch tells
66 .B mhbuild
67 to list the table of contents associated with the MIME message that is created.
68 .PP
69 The
70 .B \-headers
71 switch indicates
72 that a one-line banner should be displayed above the listing. The
73 .B \-realsize
74 switch tells
75 .B mhbuild
76 to evaluate the \*(lqnative\*(rq
77 (decoded) format of each content prior to listing. This provides an
78 accurate count at the expense of a small delay. If the
79 .B \-verbose
80 switch
81 is present, then the listing will show any \*(lqextra\*(rq information
82 that is present in the message, such as comments in the
83 \*(lqContent-Type\*(rq header.
84 .SS "Simplified Attachment Interface"
85 For users who wish to simply attach files to text content,
86 .B mhbuild
87 will scan the composition file for \*(lqAttach\*(rq headers. An
88 \*(lqAttach\*(rq header contains a filename that will be appended to the
89 message using normal MIME encapsulation rules. One filename is allowed
90 per \*(lqAttach\*(rq header, but multiple \*(lqAttach\*(rq headers are
91 allowed ber composition file.
92 .PP
93 These files will be appended after any other MIME content, including any
94 content specified by
95 .B mhbuild
96 directives (see below). See
97 .IR send (1)
98 for more details.
99 .SS "Translating the Composition File"
100 .B mhbuild
101 is essentially a filter to aid in the composition of MIME
102 messages.
103 .B mhbuild
104 will convert an
105 .B mhbuild
106 \*(lqcomposition file\*(rq
107 into a valid MIME message. A
108 .B mhbuild
109 \*(lqcomposition file\*(rq
110 is just a file containing plain text that is interspersed
111 with various
112 .B mhbuild
113 directives. When this file is processed
114 by
115 .BR mhbuild ,
116 the various directives will be expanded to the
117 appropriate content, and will be encoded according to the MIME standards.
118 The resulting MIME message can then be sent by electronic mail.
119 .PP
120 The formal syntax for a
121 .B mhbuild
122 composition file is defined at the
123 end of this document, but the ideas behind this format are not complex.
124 Basically, the body contains one or more contents. A content consists of
125 either a directive, indicated with a \*(lq#\*(rq as the first character
126 of a line; or, plaintext (one or more lines of text). The continuation
127 character, \*(lq\\\*(lq, may be used to enter a single directive on more
128 than one line, e.g.,
129 .PP
130 .RS 5
131 .nf
132 #image/png \\
133 /home/foobar/junk/picture.png
134 .fi
135 .RE
136 .PP
137 There are five kinds of directives: \*(lqtype\*(rq directives, which
138 name the type and subtype of the content; \*(lqexternal-type\*(rq
139 directives, which also name the type and subtype of the content; the
140 \*(lqmessage\*(rq directive (#forw), which is used to forward one or
141 more messages; the \*(lqbegin\*(rq directive (#begin), which is
142 used to create a multipart content; and the \*(lqon/off/pop\*(rq
143 directives (#on, #off, #pop) which control whether any other
144 directives are honored at all.
145 .PP
146 The
147 .B \-directives
148 switch allows control over whether mhbuild will honor any of the
149 \*(lq#\*(rq-directives. This can also be affected with the #on or
150 #off directives, and #pop, which restores the state of processing to
151 that preceding the most recent #on or #off. (The #on, #off, and #pop
152 directives are always honored, of course.) This allows inclusion of
153 plain text which looks like mhbuild directives, without causing
154 errors:
155 .PP
156 .RS 5
157 .nf
158 #off
159 #include <stdio.h>
160 printf("Hello, World!);
161 #pop
162 .fi
163 .RE
164 .PP
165 Currently the stack depth for the #on/off/pop directives is 32.
166 .PP
167 The \*(lqtype\*(rq directive is used to directly specify the type and
168 subtype of a content. You may only specify discrete types in this manner
169 (can't specify the types multipart or message with this directive).
170 You may optionally specify the name of a file containing the contents
171 in \*(lqnative\*(rq (decoded) format. If this filename starts with the
172 \*(lq|\*(rq character, then it represents a command to execute whose
173 output is captured accordingly.
174 For example,
175 .PP
176 .RS 5
177 .nf
178 #audio/basic |raw2audio -F < /usr/lib/sound/giggle.au
179 .fi
180 .RE
181 .PP
182 If a filename is not given,
183 .B mhbuild
184 will look for information in the
185 user's profile to determine how the different contents should be composed.
186 This is accomplished by consulting a composition string, and executing
187 it under
188 .BR /bin/sh ,
189 with the standard output set to the content.
190 If the
191 .B \-verbose
192 switch is given,
193 .B mhbuild
194 will echo any commands that are used to create contents in this way.
195 .PP
196 The composition string may contain the following escapes:
197 .PP
198 .RS 5
199 .nf
200 .ta \w'%P 'u
201 %a Insert parameters from directive
202 %f Insert filename containing content
203 %F %f, and stdout is not re-directed
204 %s Insert content subtype
205 %% Insert character %
206 .fi
207 .RE
208 .PP
209 First,
210 .B mhbuild
211 will look for an entry of the form:
212 .PP
213 .RS 5
214 mhbuild-compose-<type>/<subtype>
215 .RE
216 .PP
217 to determine the command to use to compose the content. If this isn't
218 found,
219 .B mhbuild
220 will look for an entry of the form:
221 .PP
222 .RS 5
223 mhbuild-compose-<type>
224 .RE
225 .PP
226 to determine the composition command. If this isn't found,
227 .B mhbuild
228 will complain.
229 .PP
230 An example entry might be:
231 .PP
232 .RS 5
233 mhbuild-compose-audio/basic: record | raw2audio -F
234 .RE
235 .PP
236 Because commands like these will vary, depending on the display
237 environment used for login, composition strings for different
238 contents should probably be put in the file specified by the
239 .B $MHBUILD
240 environment variable, instead of directly in your
241 user profile.
242 .PP
243 The \*(lqexternal-type\*(rq directives are used to provide a MIME
244 reference to a content, rather than enclosing the contents itself
245 (for instance, by specifying an ftp site). Hence, instead of
246 providing a filename as with the type directives, external-parameters
247 are supplied. These look like regular parameters, so they must be
248 separated accordingly. For example,
249 .PP
250 .RS 5
251 .nf
252 #@application/octet-stream; \\
253 type=tar; \\
254 conversions=compress \\
255 [this is the nmh distribution] \\
256 {attachment; filename="nmh.tar.gz"} \\
257 name="nmh.tar.gz"; \\
258 directory="/pub/nmh"; \\
259 site="ftp.math.gatech.edu"; \\
260 access-type=anon-ftp; \\
261 mode="image"
262 .fi
263 .RE
264 .PP
265 You must give a description string to separate the content parameters
266 from the external-parameters (although this string may be empty).
267 This description string is specified by enclosing it within
268 \*(lq[]\*(rq. A disposition string, to appear in a
269 \*(lqContent-Disposition\*(rq header, may appear in the optional
270 \*(lq{}\*(rq.
271 .PP
272 These parameters are of the form:
273 .PP
274 .RS 5
275 .nf
276 .ta \w'access-type= 'u
277 access-type= usually \fIanon-ftp\fR, \fImail-server\fR, or \fIurl\fR
278 name= filename
279 permission= read-only or read-write
280 site= hostname
281 directory= directoryname (optional)
282 mode= usually \fIascii\fR or \fIimage\fR (optional)
283 size= number of octets
284 server= mailbox
285 subject= subject to send
286 body= command to send for retrieval
287 url= URL of content
288 .fi
289 .RE
290 .PP
291 A mimimum \*(lqexternal\-type\*(rq directive for the
292 .B url
293 .I access\-type
294 would be as follows:
295 .PP
296 .RS 3
297 .nf
298 #@application/octet-stream [] access-type=url; \\
299 url="http://download.savannah.gnu.org/releases/nmh/nmh-1.5.tar.gz"
300 .fi
301 .RE
302 .PP
303 Any long URLs will be wrapped according to RFC 2017 rules.
304 .PP
305 The \*(lqmessage\*(rq directive (#forw) is used to specify a message or
306 group of messages to include. You may optionally specify the name of
307 the folder and which messages are to be forwarded. If a folder is not
308 given, it defaults to the current folder. Similarly, if a message is not
309 given, it defaults to the current message. Hence, the message directive
310 is similar to the
311 .B forw
312 command, except that the former uses
313 the MIME rules for encapsulation rather than those specified in RFC 934.
314 For example,
315 .PP
316 .RS 5
317 .nf
318 #forw +inbox 42 43 99
319 .fi
320 .RE
321 .PP
322 If you include a single message, it will be included directly as a content
323 of type \*(lqmessage/rfc822\*(rq. If you include more than one message,
324 then
325 .B mhbuild
326 will add a content of type \*(lqmultipart/digest\*(rq
327 and include each message as a subpart of this content.
328 .PP
329 If you are using this directive to include more than one message, you
330 may use the
331 .B \-rfc934mode
332 switch. This switch will indicate that
333 .B mhbuild
334 should attempt to utilize the MIME encapsulation rules
335 in such a way that the \*(lqmultipart/digest\*(rq that is created
336 is (mostly) compatible with the encapsulation specified in RFC 934.
337 If given, then RFC 934 compliant user-agents should be able to burst the
338 message on reception\0--\0providing that the messages being encapsulated
339 do not contain encapsulated messages themselves. The drawback of this
340 approach is that the encapsulations are generated by placing an extra
341 newline at the end of the body of each message.
342 .PP
343 The \*(lqbegin\*(rq directive is used to create a multipart content.
344 When using the \*(lqbegin\*(rq directive, you must specify at least one
345 content between the begin and end pairs.
346 .PP
347 .RS 5
348 .nf
349 #begin
350 This will be a multipart with only one part.
351 #end
352 .fi
353 .RE
354 .PP
355 If you use multiple directives in a composition draft,
356 .B mhbuild
357 will
358 automatically encapsulate them inside a multipart content. Therefore the
359 \*(lqbegin\*(rq directive is only necessary if you wish to use nested
360 multiparts, or create a multipart message containing only one part.
361 .PP
362 For all of these directives, the user may include a brief description
363 of the content between the \*(lq[\*(rq character and the \*(lq]\*(rq
364 character. This description will be copied into the
365 \*(lqContent-Description\*(rq header when the directive is processed.
366 .PP
367 .RS 5
368 .nf
369 #forw [important mail from Bob] +bob 1 2 3 4 5
370 .fi
371 .RE
372 .PP
373 Similarly, a disposition string may optionally be provided between
374 \*(lq{\*(rq and \*(lq}\*(rq characters; it will be copied into the
375 \*(lqContent-Disposition\*(rq header when the directive is processed.
376 If a disposition string is provided that does not contain a filename
377 parameter, and a filename is provided in the directive, it will be
378 added to the \*(lqContent-Disposition\*(rq header. For example, the
379 following directive:
380 .PP
381 .RS 5
382 .nf
383 #text/plain; charset=iso-8859-1 <>{attachment} /tmp/summary.txt
384 .fi
385 .RE
386 .PP
387 creates these message part headers:
388 .PP
389 .RS 5
390 .nf
391 Content-Type: text/plain; charset="iso-8859-1"
392 Content-Disposition: attachment; filename="summary.txt"
393 .fi
394 .RE
395 .PP
396 By default,
397 .B mhbuild
398 will generate a unique \*(lqContent-ID:\*(rq for each directive,
399 corresponding to each message part; however, the user may override
400 this by defining the ID using the \*(lq<\*(rq and \*(lq>\*(rq
401 characters. The
402 .B \-nocontentid
403 switch suppresses creation of all \*(lqContent-ID:\*(rq headers,
404 even in the top level of the message.
405 .PP
406 Normally
407 .B mhbuild
408 will choose an appropriate Content\-Transfer\-Encoding based on the content
409 and the MIME Content\-Type. However, you can override that in an
410 .B mhbuild
411 directive by specifying \*(lq*\*(rq and the encoding. Acceptable encoding
412 values are \*(lq8bit\*(rq, \*(lqqp\(*rq (for quoted\-printable), and
413 \*(lqb64\*(rq (for base64 encoding). It should be noted that undesired
414 results may occur if 8bit or quoted\-printable is selected for binary
415 content, due to the translation between Unix line endings and the line
416 endings use by the mail transport system.
417 .PP
418 In addition to the various directives, plaintext can be present.
419 Plaintext is gathered, until a directive is found or the draft is
420 exhausted, and this is made to form a text content. If the plaintext
421 must contain a \*(lq#\*(rq at the beginning of a line, simply double it,
422 e.g.,
423 .PP
424 .RS 5
425 ##when sent, this line will start with only one #
426 .RE
427 .PP
428 If you want to end the plaintext prior to a directive, e.g., to have two
429 plaintext contents adjacent, simply insert a line containing a single
430 \*(lq#\*(rq character, e.g.,
431 .PP
432 .RS 5
433 .nf
434 this is the first content
435 #
436 and this is the second
437 .fi
438 .RE
439 .PP
440 Finally, if the plaintext starts with a line of the form:
441 .PP
442 .RS 5
443 Content-Description: text
444 .RE
445 .PP
446 then this will be used to describe the plaintext content.
447 You MUST follow this line with a blank line before starting
448 your text.
449 .PP
450 By default, plaintext is captured as a text/plain content. You can
451 override this by starting the plaintext with \*(lq#<\*(rq followed by
452 a content-type specification. For example, e.g.,
453 .PP
454 .RS 5
455 .nf
456 #<text/enriched
457 this content will be tagged as text/enriched
458 #
459 and this content will be tagged as text/plain
460 #
461 #<application/x-patch [this is a patch]
462 and this content will be tagged as application/x-patch
463 .fi
464 .RE
465 .PP
466 Note that if you use the \*(lq#<\*(rq plaintext-form, then the
467 content-description must be on the same line which identifies the content
468 type of the plaintext.
469 .PP
470 When composing a text content, you may indicate the relevant character
471 set by adding the \*(lqcharset\*(rq parameter to the directive.
472 .PP
473 .RS 5
474 #<text/plain; charset=iso-8859-5
475 .RE
476 .PP
477 If a text content contains any 8\-bit characters (characters with the
478 high bit set) and the character set is not specified as above, then
479 .B mhbuild
480 will assume the character set is of the type given by the
481 standard
482 .IR locale (1)
483 environment variables. If these environment variables are not
484 set, then the character set will be labeled as \*(lqx-unknown\*(rq.
485 .PP
486 If a text content contains only 7\-bit characters and the character set
487 is not specified as above, then the character set will be labeled as
488 \*(lqus-ascii\*(rq.
489 .PP
490 By default text content with the high bit set is encoded with a 8bit
491 Content\-Transfer\-Encoding. If the text has lines longer than the value
492 of
493 .B \-maxunencoded
494 (which defaults to 78) then the text is encoded using the quoted\-printable
495 encoding.
496 .PP
497 The
498 .B \-headerencoding
499 switch will indicate which algorithm to use when encoding any message headers
500 that contain 8\-bit characters. The valid arguments are
501 .I base64
502 for based\-64 encoding and
503 .I quoted
504 for quoted\-printable encoding. The
505 .B \-autoheaderencoding
506 switch will instruct
507 .B mhbuild
508 to automatically pick the algorithm that results in a shorter encoded string.
509 .PP
510 Putting this all together,
511 here is an example of a more complicated message draft. The
512 following draft will expand into a multipart/mixed message
513 containing five parts:
514 .PP
515 .RS 5
516 .nf
517 To: nobody@nowhere.org
518 cc:
519 Subject: Look and listen to me!
520 --------
521 The first part will be text/plain
522 #<text/enriched
523 The second part will be text/enriched
524 #
525 This third part will be text/plain
526 #audio/basic [silly giggle] \\
527 |raw2audio -F < /usr/lib/sounds/giggle.au
528 #image/gif [photo of foobar] \\
529 /home/foobar/lib/picture.gif
530 .fi
531 .RE
532 .SS "Integrity Check"
533 If
534 .B mhbuild
535 is given the
536 .B \-check
537 switch, then it will also associate an integrity check with each
538 \*(lqleaf\*(rq content. This will add a Content-MD5 header field to
539 the content, along with the md5 sum of the unencoded contents, per RFC
540 1864. This may be used by the receiver of the message to verify that
541 the contents of the message were not changed in transport.
542 .SS "Transfer Encodings"
543 After
544 .B mhbuild
545 constructs the new MIME message by parsing directives,
546 including files, etc., it scans the contents of the message to determine
547 which transfer encoding to use. It will check for 8bit data, long lines,
548 spaces at the end of lines, and clashes with multipart boundaries. It will
549 then choose a transfer encoding appropriate for each content type.
550 .PP
551 If an integrity check is being associated with each content by using
552 the
553 .B \-check
554 switch, then
555 .B mhbuild
556 will encode each content with
557 a transfer encoding, even it the content contains only 7\-bit data. This
558 is to increase the likelihood that the content is not changed while in
559 transport.
560 .SS "Invoking mhbuild"
561 Typically,
562 .B mhbuild
563 is invoked by the
564 .B whatnow
565 program. This
566 command will expect the body of the draft to be formatted as an
567 .B mhbuild
568 composition file. Once you have composed this input file
569 using a command such as
570 .BR comp ,
571 .BR repl ,
572 or
573 .BR forw ,
574 you invoke
575 .B mhbuild
576 at the \*(lqWhat now\*(rq prompt with
577 .PP
578 .RS 5
579 What now? mime
580 .RE
581 .PP
582 prior to sending the draft. This will cause
583 .B whatnow
584 to execute
585 .B mhbuild
586 to translate the composition file into MIME format.
587 .PP
588 Normally it is an error to invoke
589 .B mhbuild
590 on file that already in MIME format. The
591 .B \-auto
592 switch will cause
593 .B mhbuild
594 to exit without error if the input file already has valid MIME headers.
595 The use of
596 .B \-auto
597 also enables the
598 .B \-nodirectives
599 switch.
600 .PP
601 Finally, you should consider adding this line to your profile:
602 .PP
603 .RS 5
604 lproc: show
605 .RE
606 .PP
607 This way, if you decide to
608 .B list
609 after invoking
610 .BR mime ,
611 the command
612 .PP
613 .RS 5
614 What now? list
615 .RE
616 .PP
617 will work as you expect.
618 .PP
619 The
620 .B \-dist
621 switch is intended to be used by
622 .BR dist .
623 It will cause mhbuild to not generate any MIME headers in the composition
624 file (such as \*(lqMIME-Version\*(rq or \*(lqContent-Type\*(rq), but it
625 will still encode message headers according to RFC 2047.
626 .SS "User Environment"
627 Because the environment in which
628 .B mhbuild
629 operates may vary for a
630 user,
631 .B mhbuild
632 will look for the environment variable
633 .BR $MHBUILD .
634 If present, this specifies the name of an additional user profile which
635 should be read. Hence, when a user logs in on a particular machine,
636 this environment variable should be set to refer to a file containing
637 definitions useful for that machine.
638 .PP
639 Finally,
640 .B mhbuild
641 will attempt to consult a global
642 .B mhbuild
643 user profile, e.g.,
644 .PP
645 .RS 5
646 %etcdir%/mhn.defaults
647 .RE
648 .PP
649 if it exists.
650 .SS "Syntax of Composition Files"
651 The following is the formal syntax of a
652 .B mhbuild
653 \*(lqcomposition file\*(rq.
654 .PP
655 .RS 5
656 .nf
657 body ::= 1*(content | EOL)
658
659 content ::= directive | plaintext
660
661 directive ::= "#" type "/" subtype
662 0*(";" attribute "=" value)
663 [ "(" comment ")" ]
664 [ "<" id ">" ]
665 [ "[" description "]" ]
666 [ "{" disposition "}" ]
667 [ "*8bit" | "*qp" | "*b64" ]
668 [ filename ]
669 EOL
670
671 | "#@" type "/" subtype
672 0*(";" attribute "=" value)
673 [ "(" comment ")" ]
674 [ "<" id ">" ]
675 [ "[" description "]" ]
676 [ "{" disposition "}" ]
677 [ "*8bit" | "*qp" | "*b64" ]
678 external-parameters
679 EOL
680
681 | "#forw"
682 [ "<" id ">" ]
683 [ "[" description "]" ]
684 [ "{" disposition "}" ]
685 [ "+"folder ] [ 0*msg ]
686 EOL
687
688 | "#begin"
689 [ "<" id ">" ]
690 [ "[" description "]" ]
691 [ "{" disposition "}" ]
692 [ "alternative"
693 | "parallel"
694 | something-else ]
695 EOL
696 1*body
697 "#end" EOL
698
699 plaintext ::= [ "Content-Description:"
700 description EOL EOL ]
701 1*line
702 [ "#" EOL ]
703
704 | "#<" type "/" subtype
705 0*(";" attribute "=" value)
706 [ "(" comment ")" ]
707 [ "[" description "]" ]
708 [ "{" disposition "}" ]
709 [ "*8bit" | "*qp" | "*b64" ]
710 EOL
711 1*line
712 [ "#" EOL ]
713
714 line ::= "##" text EOL
715 -- interpreted as "#"text EOL
716 | text EOL
717 .fi
718 .RE
719 .SH FILES
720 .B mhbuild
721 looks for additional user profile files and mhn.defaults in multiple
722 locations: absolute pathnames are accessed directly, tilde expansion
723 is done on usernames, and files are searched for in the user's
724 .I Mail
725 directory as specified in their profile. If not found there, the directory
726 .RI \*(lq %etcdir% \*(rq
727 is checked.
728 .PP
729 .fc ^ ~
730 .nf
731 .ta \w'%etcdir%/ExtraBigFileName 'u
732 ^$HOME/\&.mh\(ruprofile~^The user profile
733 ^$MHBUILD~^Additional profile entries
734 ^%etcdir%/mhn.defaults~^System default MIME profile entries
735 .fi
736 .SH "PROFILE COMPONENTS"
737 .fc ^ ~
738 .nf
739 .ta 2.4i
740 .ta \w'ExtraBigProfileName 'u
741 ^Path:~^To determine the user's nmh directory
742 ^Current\-Folder:~^To find the default current folder
743 ^mhbuild-compose-<type>*~^Template for composing contents
744 .fi
745 .SH "SEE ALSO"
746 .IR mhlist (1),
747 .IR mhshow (1),
748 .IR mhstore (1)
749 .PP
750 .I "Proposed Standard for Message Encapsulation"
751 (RFC 934),
752 .PP
753 .I "The Content-MD5 Header Field"
754 (RFC 1864),
755 .PP
756 .I "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"
757 (RFC 2045),
758 .PP
759 .I "Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"
760 (RFC 2046),
761 .PP
762 .I "Multipurpose Internet Mail Extensions (MIME) Part Three: Message Header Extensions for Non-ASCII Text"
763 (RFC 2047),
764 .PP
765 .I "Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures"
766 (RFC 2048),
767 .PP
768 .I "Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples"
769 (RFC 2049)
770 .I "Definition of the URL MIME External-Body Access-Type"
771 (RFC 2017)
772 .SH DEFAULTS
773 .nf
774 .RB ` \-headers '
775 .RB ` \-realsize '
776 .RB ` \-norfc934mode '
777 .RB ` \-contentid '
778 .RB ` \-nocheck '
779 .RB ` \-noverbose '
780 .RB ` \-autoheaderencoding '
781 .RB ` "\-maxunencoded\ 78"'
782 .fi