[comp.sys.next] What to do when Next-Attachment header line is gone

lrr@Princeton.EDU (Lawrence R. Rogers) (12/09/89)

I have been in a situation where the Next-Attachment: header line has
been lost.  One example is when the mail is distributed through a
Listserv list on BITNET.  Although in an ideal world it would be best if
unrecognized header lines were left untouched, they in fact are removed.
 The question is: what is the format of the line beyond the file name,
that is what is the source of the magic numbers contained in the
Next-Attachment: header line?  I thank you for the information and so
does my boss.


Larry Rogers (Postmaster@Princeton.EDU)
Manager, UNIX Systems
Princeton University
Computing and Information Technology
Computing Center
87 Prospect Street, Room 201
Princeton, NJ 08544

UUCP:		princeton!lrr
ARPANET/CSNET:	lrr@Princeton.EDU
BITNET:		lrr@pucc.BITNET
PHONE:		609 258 6483
FAX:		609 258 3943

izumi@violet.berkeley.edu (Izumi Ohzawa) (12/09/89)

In article <12054@phoenix.Princeton.EDU> lrr@Princeton.EDU (Lawrence R. Rogers) writes:
>I have been in a situation where the Next-Attachment: header line has
>been lost.  One example is when the mail is distributed through a

If the mail consists of just 1 mail entry ( as probably
indicated by "1/1" on the line, you can first extract the
main mail body.
And [1] uudecode
    [2] uncompress ( or use zcat) by zcat file.Z >file.tar
    [3] un-tar by tar -xvf tarfile

Then, you get bunch of files, one of which is an RTF file for text,
and others for attachments.

I don't know what other numbers on the line mean, but I don't think
they are needed to unpack NeXTmails, unless (possibly) mail is
divided into multiple parts.

Izumi Ohzawa
izumi@violet.berkeley.edu