🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.multi-media
Article #3

Re: uuencoded files in MIME messages?

#3
From: Olle Jarnefors
Date: Thu, 29 Oct 1992 09:43
40 lines
2389 bytes
Chris Bartram (<rcb@uii.com> or <RCB@SPSUP-1.NAVY.MIL>) writes
in article <000EEK@HUEY.UII.COM>:

>   It seems to me that we can at least come up with a case to handle uuencoded
> files within MIME - after all the purpose of MIME was to add the multi-media
> capabilities without "breaking" old-fashioned SMTP mailers.... With proper
> boundaries, a uuencoded enclosure can be recognized and handled by MIME
> mailers AND old-mailers that key on uuencoded headers.

The MIME specification explicitly rejects this idea:

:           However, it should be noted that the use of such conversions
:           [Unix compress and encrypt]
:           is  explicitly  discouraged due to a lack of portability and
:           standardization.   The  use  of  uuencode  is   particularly
:           discouraged,   in  favor  of  the  Content-Transfer-Encoding
:           mechanism, which is both more standardized and more portable
:           across mail boundaries.

(RFC 1341, section 7.4.1).

Note that uuencoding is discouraged, not prohibited.  Therefore
the general mechanism of RFC 1341 for including files in a
message body can be applied also to uuencoded files:

Use the header field

Content-Type: application/octet-stream; name=foo.bar; type=uu;
 conversions=x-uuencode

If you want to attach a description of the file, it can be
included in a Content-Description: header field or you can
have it and the file as two different body parts in a
message with Content-Type: multipart/mixed.

--
Olle Jarnefors                     Internet: ojarnef@admin.kth.se
Information Management Services        UUCP: ...!uunet!mcsun!sunic!kth!ojarnef
Royal Institute of Technology (KTH)  BITNET: ojarnef@sekth  Fax:+46 8 10 25 10
S-100 44  Stockholm, Sweden           Phone: +46 8 790 71 26 (time zone +0100)
Technical Details
Message-ID: <1992Oct29.094336.10213@admin.kth.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!nobeltech!admin.kth.se!ojarnef
References: <000EEK@HUEY.UII.COM>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.multi-media
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!nobeltech!admin.kth.se!ojarnef
From: ojarnef@admin.kth.se (Olle Jarnefors)
Subject: Re: uuencoded files in MIME messages?
Message-ID: <1992Oct29.094336.10213@admin.kth.se>
Summary: MIME allows uudecoded files but discourages their use
Keywords: electronic mail, uuencode, MIME, file transfer
Sender: ojarnef@admin.kth.se (Olle Jarnefors)
Organization: Royal Institute of Technology, Sweden
References: <000EEK@HUEY.UII.COM>
Date: Thu, 29 Oct 1992 09:43:36 GMT
Lines: 40