home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / mail / mime_faq / part3 / partmessage-partial0 < prev   
Encoding:
Text File  |  1994-03-21  |  14.6 KB  |  339 lines

  1. Archive-Name: mail/mime-faq/part3
  2. Last-modified: 1994/02/10
  3. Version: 3.4
  4.  
  5.  
  6. comp.mail.mime frequently asked questions list (FAQ) (3/3)
  7.  
  8. Part III -- Advanced Topics
  9.  
  10. This is part III of a Frequently Asked Questions document about MIME, the
  11. multipurpose and multi-media standard for Internet mail.
  12.  
  13. Part I covers frequently asked questions.
  14.  
  15. Part II is a listing of MIME products.
  16.  
  17. Part III covers advanced topics.
  18.  
  19.  
  20. 10 Information
  21.  
  22. 10.1 MIME-relevant RFCs and other standards
  23.  
  24. The RFCs mentioned here are mainly relevant to people building MIME
  25. software.  As an end user, if your mail system is nice to you, you
  26. won't really have to know very much about these things.
  27.  
  28. RFC and Internet-Drafts are available by anonymous FTP from any decent
  29. archive site.  If you're really stuck, try
  30.  
  31. FTP:      ds.internic.net:rfc/*
  32. FTP:      ds.internic.net:internet-drafts/*
  33.  
  34. MIME is defined in RFC 1521 (MIME Mechanisms for Specifying and
  35. Describing the Format of Internet Message Bodies) and RFC 1522
  36. (Representation of Non-ASCII Text in Internet Message Headers).
  37.  
  38. These are Internet standards-track protocols.  For the full
  39. implications of this, see RFC 1540 (IAB Official Protocol Standards).
  40. Here is their current status.
  41.  
  42.     1521: Draft Elective Standard
  43.     1522: Draft Elective Standard
  44.  
  45. These two RFCs do not fully define MIME.  For one thing, they are
  46. based on RFC 822 (Standard for the format of ARPA Internet text
  47. messages), as revised by RFC 1123 (Requirements for Internet hosts -
  48. application and support) and must be read in conjunction with these.
  49.  
  50. For another, they are extensible.  See 10.2 for a complete list of
  51. registered subtypes.
  52.  
  53. There are a whole lot of other RFCs that deal with email, including
  54. these.
  55.  
  56. IAB standards-track RFCs
  57.  
  58.     1502  X.400 Use of Extended Character Sets
  59.     1496  Rules for Downgrading Messages from X.400(88) to X.400(84)
  60.           when MIME Content-Types are Present in the Messages
  61.     1495  Mapping between X.400 and RFC-822 Message Bodies
  62.     1494  Equivalences between 1988 X.400 and RFC-922 Message Bodies
  63.     1427  SMTP Service Extension for Message Size Declaration.
  64.     1426  SMTP Service Extension for 8bit-MIMEtransport.
  65.     1425  SMTP Service Extensions.
  66.     1424  Privacy Enhancement for Internet Electronic Mail: Part IV.
  67.     1423  Privacy Enhancement for Internet Electronic Mail: Part III.
  68.     1422  Privacy Enhancement for Internet Electronic Mail: Part II.
  69.     1421  Privacy Enhancement for Internet Electronic Mail: Part I.
  70.     1327  Mapping between X.400(1988)/ISO 10021 and RFC 822.
  71.     1314  File format for the exchange of images in the Internet.
  72.  
  73. Other RFCs (Informational, Experimental, or Historical)
  74.  
  75.     1489  Registration of a Cyrillic Character Set.
  76.     1468  Japanese Character Encoding for Internet Messages.
  77.     1456  Conventions for Encoding the Vietnamese Language.
  78.     1428  Transition of Internet Mail from Just-Send-8 to 8bit-SMTP/MIME.
  79.     1357  Format for emailing bibliographic records.
  80.     1345  Character Mnemonics & Character Sets.
  81.     1344  Implications of MIME for Internet mail gateways.
  82.     1343  User agent configuration mechanism for multimedia mail format
  83.           information.
  84.     1339  Remote mail checking protocol.
  85.     1321  MD5 Message-Digest algorithm.
  86.     1225  Post Office Protocol: Version 3.
  87.     1211  Problems with the maintenance of large mailing lists.
  88.     1176  Interactive Mail Access Protocol: Version 2.
  89.     1197  Using ODA for translating multimedia information.
  90.     1154  Encoding header field for internet messages.
  91.     1153  Digest message format.
  92.     1049  Content-type header field for Internet messages.
  93.     1036  Standard for interchange of USENET messages.
  94.     934   Proposed standard for message encapsulation.
  95.     807   Multimedia mail meeting notes.
  96.  
  97.  
  98. 10.2 List of registered MIME types
  99.  
  100. A list of registered MIME types is available from
  101.  
  102. FTP:      isi.edu:in-notes/media-types/media-types
  103.  
  104. This is the latest version.
  105.  
  106. Type            Subtype                Description          Reference
  107. ----            -------                -----------          ---------
  108. text            plain                                       [169,NSB]
  109.                 richtext                                    [169,NSB]
  110.                 tab-separated-values                   [Paul Lindner]
  111.  
  112. multipart       mixed                                       [169,NSB]
  113.                 alternative                                 [169,NSB]
  114.                 digest                                      [169,NSB]
  115.                 parallel                                    [169,NSB]
  116.                 appledouble                [MacMime,Patrik Faltstrom]
  117.                 header-set                             [Dave Crocker]
  118.  
  119. message         rfc822                                      [169,NSB]
  120.                 partial                                     [169,NSB]
  121.                 external-body                               [169,NSB]
  122.                 news                        [RFC 1036, Henry Spencer]
  123.  
  124. application     octet-stream                                [169,NSB]
  125.                 postscript                                  [169,NSB]
  126.                 oda                                         [169,NSB]
  127.                 atomicmail                           [atomicmail,NSB]
  128.                 andrew-inset                       [andrew-inset,NSB]
  129.                 slate                           [slate,terry crowley]
  130.                 wita              [Wang Info Transfer,Larry Campbell]
  131.                 dec-dx            [Digital Doc Trans, Larry Campbell]
  132.                 dca-rft        [IBM Doc Content Arch, Larry Campbell]
  133.                 activemessage                          [Ehud Shapiro]
  134.                 rtf                                    [Paul Lindner]
  135.                 applefile                  [MacMime,Patrik Faltstrom]
  136.                 mac-binhex40               [MacMime,Patrik Faltstrom]
  137.                 news-message-id             [RFC 1036, Henry Spencer]
  138.                 news-transmission           [RFC 1036, Henry Spencer]
  139.                 wordperfect5.1                         [Paul Lindner]
  140.                 pdf                                    [Paul Lindner]
  141.                 zip                                    [Paul Lindner]
  142.                 macwriteii                             [Paul Lindner]
  143.                 msword                                 [Paul Lindner]
  144.                 remote-printing                         [RFC1486,MTR]
  145.  
  146. image           jpeg                                        [169,NSB]
  147.                 gif                                         [169,NSB]
  148.                 ief             Image Exchange Format      [RFC-1314]
  149.                 tiff            Tag Image File Format           [MTR]
  150.  
  151. audio           basic                                       [169,NSB]
  152.  
  153. video           mpeg                                        [169,NSB]
  154.                 quicktime                              [Paul Lindner]
  155.  
  156. Each <type> has a directory
  157.  
  158. FTP:      isi.edu:in-notes/media-types/<type>
  159.  
  160. containing the definitions of its subtypes.
  161.  
  162.  
  163. 10.3 Internet Engineering Task Force (IETF) working groups
  164.  
  165. The IETF working group on Privacy-Enhanced Mail (PEM) has developed
  166. extensions that permit confidentiality, authentication, and integrity to
  167. be provided in a manner backwards compatible with RFC-821 and RFC-822
  168. (see 3.4).  Work is underway to align PEM and MIME which will provide
  169. real security to MIME email.
  170.  
  171. The IETF MIME working group is not actively considering significant
  172. changes to the specifications.  However the WG still exists as a forum
  173. for MIME developers, as a home for interpretation questions, and to
  174. handle any problems or ambiguities that might arise in MIME.
  175.  
  176.  
  177. 11 Developers' FAQs
  178.  
  179. 11.1 How can I register a new MIME type?
  180.  
  181. The procedures for registering new content types, character set
  182. values, access types, and conversions parameters with IANA (the
  183. Internet Assigned Numbers Authority) are documented in RFC 1521.
  184.  
  185.  
  186. 11.2 What's ESMTP, and how does it affect MIME?
  187.  
  188. ESMTP (Extended Simple Mail Transfer Protocol) is a mechanism by which
  189. extensions to "traditional" (RFC 821) SMTP can be negotiated by client
  190. and server.  The mechanism (RFC 1425) is open-ended; so far two
  191. extensions have been defined.
  192.  
  193. Message size declaration (RFC 1427) offers a graceful way for servers
  194. to limit the size of message they are prepared to accept.  (With SMTP,
  195. the only possibility is for the server to discard the message after it
  196. has been sent in its entirety.  There is no way for the client to know
  197. that it was the size of the message that caused the problem.)
  198.  
  199. When a message is returned to the user as being too large to deliver,
  200. one possible approach might be to fragment the message using the MIME
  201. Message/Partial mechanism, and resubmit it.
  202.  
  203. Depending on the exact reason for the "too large" rejection, this may
  204. or may not be a good idea.  For example, the limitation may reflect
  205. the recipient's disk quota, in which case the fragmented message will
  206. not be fully deliverable either.
  207.  
  208. The possibility of fragmentation should, therefore, be left to the
  209. user's discretion (not performed automatically by the SMTP client).
  210.  
  211. 8bit-MIMEtransport (RFC 1426) opens up the possibility of sending 8bit
  212. data in mail messages, without having to use base64, quoted-printable,
  213. or another encoding, and without the breakage that can result from
  214. sending 8bit data to an unsuspecting RFC 821 SMTP server.  RFC 1428
  215. (Transition of Internet Mail from Just-Send-8 to 8bit-SMTP/MIME)
  216. discusses some of the implications of this.
  217.  
  218.  
  219. 11.3 Where can I get some sample MIME messages?
  220.  
  221. FTP:      thumper.bellcore.com:pub/nsb/samples/*
  222.  
  223.  
  224. 11.4 Wouldn't MIME be better if it did <foo>?
  225.  
  226. This question is asked for various values of <foo>.  Perhaps the most
  227. common is "multilevel encodings": see the next question.  There are
  228. a couple general points that apply to all <foo>.
  229.  
  230. 1. Please remember that MIME is the result of a lot of work by a lot
  231. of people, over a long time (look at the Acknowledgements section of
  232. RFC 1521).  A great many ideas, probably including yours, were
  233. considered.  In many cases, there were conflicting goals, such as
  234. simplicity and interoperability on the one hand, and power and
  235. flexibility on the other.
  236.  
  237. 2. If you really think you've got an original idea which would improve
  238. MIME, the correct place to pursue it is not this newsgroup, but the
  239. working group mailing list (having first read the archives, to check
  240. that it really is new).  Yes, this is going to be a lot more work than
  241. posting a news article.
  242.  
  243.  
  244. 11.5 So what about multilevel encodings?
  245.  
  246. MIME uses a two-level encoding scheme.  The original object (for
  247. example, a picture, or a text document) is encoded using a well
  248. defined mechanism appropriate to that object (perhaps GIF for the
  249. picture, and text/enriched for the document).  Then a second encoding
  250. is used to ensure that the first encoding can be transmitted intact
  251. (probably base64 for the GIF, and quoted printable for the
  252. text/enriched document).  
  253.  
  254. Note that there is a very small number of the second encodings (five,
  255. but three of these are simply indications of what kind of data an
  256. unencoded body part contains), and it is not expected that there will
  257. be many more in the foreseeable future.
  258.  
  259. The multilevel encodings idea is for a more generalized MIME-like
  260. encoding mechanism that could indicate many arbitrary transformations
  261. of the original object.  For example,
  262.  
  263.     Content-Type: application/tar; conversions="encrypt,compress,uuencode"
  264.  
  265. might indicate a UNIX tar file that had been encrypted, then
  266. compressed, then uuencoded.  (This is a fictitious example of how MIME
  267. might have worked; it's not legal MIME.  Don't worry if you've never
  268. heard of some of these transformations.)
  269.  
  270. This may look like an attractive scheme at first, but it has a number
  271. of problems.
  272.  
  273. 1. If you've been brought up on UNIX and command pipelines, the
  274. implementation of such a scheme seems trivial.  Surely any half-decent
  275. machine can do something similar?  Unfortunately, this turns out to be
  276. true only for a very restricted definition of "half-decent".  In
  277. practice, it would be awfully difficult to implement this on a lot of
  278. systems.  Probably even more systems would not allow new
  279. transformations to be just "slotted in", and would require
  280. recompilation or reshipping whenever a new one came along.
  281.  
  282. 2. Each successive transformation reduces the size of the audience who
  283. can successfully decode the message.  Every MIME mailer must be able
  284. to decode base64 and quoted-printable, so it's guaranteed that you can
  285. at least get back to the raw data.  What if, in the above example, I
  286. have tar, decrypt, uudecode, but no uncompressor?
  287.  
  288. 3. Such a scheme does not increase the scope of the framework defined
  289. by MIME.  If uuencoded, compressed, encrypted tar files are useful
  290. things to sling around, it is entirely possible to define a new MIME
  291. type (presumably a subtype of application) to handle them.
  292.  
  293.  
  294. 11.6 Why doesn't MIME include a mechanism for compression?
  295.  
  296. Compression is a difficult area.  It was considered by the working
  297. group, but no consensus was reached.  There is still work going on in
  298. this area: there may someday be a compressed-64 encoding.
  299.  
  300. Most compression algorithms have one of more of these undesirable
  301. properties: they are covered by patent, they require the ability to
  302. treat the input as a stream of bits, they use a large data space.  The
  303. chances of finding a truly interoperable compression algorithm are
  304. therefore rather slim.
  305.  
  306. It is worth noting that most or all of the image and video subtypes
  307. (including GIF, JPEG, TIFF, and MPEG) define their own compression
  308. schemes.
  309.  
  310.  
  311. 12 Acknowledgements
  312.  
  313. Many people have contributed to this document.
  314.  
  315. They include: 
  316.  
  317. Alan Robiette, Alec Henderson, Axel Boldt, Carlyn Lowery, Chris Pepper,
  318. Christophe Wolfhugel, Christopher Davis, Craig Huckabee, Daniel
  319. Fandrich, Daniel Glazman, Dave Curry, Dave Lacey, David Collier-Brown,
  320. David Miller, Ed Anselmo, Edward Vielmetti, Erik van der Poel, Harald
  321. Alvestrand, Ian Hoyle, James Ford, Jason Beyer, Jay Weber, Jerry Sweet,
  322. Joe Ilacqua, Joergen Haegg, John Gardiner Myers, John Martin, John
  323. Romine, Joyce Reynolds, Keith Moore, Larry Salomon Jr, Lars-Gunnar
  324. Olsson, Luc Rooijakkers, Marc VanHeyningen, Mark Crispin, Mark Grand,
  325. Marshall Rose, Martin Wendel, Masanobu Umeda, Michael Parson, Michael
  326. Urban, Nathaniel Borenstein, Ned Freed, Niklas Agren, Pat Farrell, Paul
  327. Eggert, Piero Serini, Quentin Smart, Ran Atkinson, Ray Langford, Rich
  328. Ragan, Rick Troth, Ron Barak, Steve Dorner, Steve Hole, Stuart Lynne,
  329. Susan Straub, Syd Weinstein, Tim Kehres, Tommy Wallo, Yehavi Bourvine.
  330.  
  331. If I've left your name off, please accept my apologies.  Drop me a
  332. note and I'll include it for next time.
  333.  
  334. Thanks also to Jonathan Kamens, for coordinating the *.answers groups,
  335. and for his post_faq program which brought you this FAQ.
  336.  
  337.  
  338. End of Part III
  339.