Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!att!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.mail.misc Subject: Re: Content-Length: (was: binmail vs MMDF mail file format) Message-ID: <8946@chinet.chi.il.us> Date: 14 Jul 89 04:30:04 GMT References: <8887@chinet.chi.il.us> <1597@cbnewsc.ATT.COM> <114277@sun.Eng.Sun.COM> Reply-To: les@chinet.chi.il.us (Leslie Mikesell) Organization: Chinet - Public Access Unix Lines: 67 In article <114277@sun.Eng.Sun.COM> island!argv@sun.com (Dan Heller) writes: >It's obvious that we know nothing about the proposed scheme right now. >Les didn't give much information at all and I would like more -- a lot >more. Here's a sample of the PMX-mailer headers. This was sent from a PC using PMX-starmail from afbf02!les2 to afbf01!les. The mail appears to be from the unix host and remains in the normal unix mailbox until the PC requests it. The headers up to one line below the first Content-Length: do not have the PC-style carriage returns at the ends of the lines. The rest of the message did and they are included in the length counts (I deleted them). Going the other direction (unix mail to PC), CR's are added during the transfer and the length values are adjusted to match. (A) It seems a little strange to me to have an End-of-Header: and End-of-protocol: header followed by more headers. (B) Inserting a Status: header before the blank line will mess up the count unless you note that the count starts *after* the blank line. (C) I could not decode the contents with the version of atob that I had on a 3B2 although the format looks right after the CR's are taken out. Are there incompatible versions of atob? |------------sample---------- |From uucp Tue Jul 11 15:22 CDT 1989 |>From les2 Tue Jul 11 15:28 CDT 1989 remote from afbf02 |Message-Version: 2 |>To: afbf01!les |From: les2 |Date: Tue Jul 11 14:34:50 CDT 1989 |UA-Content-ID: |End-of-Header: |Email-Version: 2 |UA-Message-ID: |Subject: test from pmx-starmail |To: afbf01!les |End-of-Protocol: |Content-Type: multipart |Content-Length: 14871 | |Content-Type: Text |Content-Length: 56 | |This is text in the body of the message. |text |text | | |Content-Type: Binary |Content-Name: E:\DC\PKXARC.COM |Content-Abstract: this was entered as a description |Encoding-Algorithm: btoa |Content-Length: 14605 | |xbtoa Begin |pQAVU!U9Z?Dgo@[zzz7S% | [ 179 lines of 78 chars + CR/LF deleted ] |V\Db+;$*DU$#Bg3_,F$F\*Bh