home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / mail / mime-faq / part3 < prev    next >
Encoding:
Internet Message Format  |  1993-12-02  |  15.5 KB

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