🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #3970

Re: NeXTmail format ?

#3970
From: Laurent Demay
Date: Fri, 20 Nov 1992 18:33
30 lines
1506 bytes
In article <1992Nov19.141907.4918@cs.mcgill.ca> popaul@cs.mcgill.ca (Paul  
Terray) writes:
> 
> I read my mail through different system so I cannot use NeXTmail, but as
> I use elm, I can filter all NeXTmail to another program. But what I want
> to know is the format of the NeXTmail. I know it is uuencode with index
> containing the text, but I don't know anything about the header.
> 
> Could someone help me ?

I get a script Readmail it extract the attachments and read the index.rtf witch is the main file of the mail.

#!/bin/csh
if ( $#argv != 1 ) then 
	echo usage: "readmail filename"
else
	set uudecodename=`awk ' /^begin [0-9]/ { print $3 } ' $1`

	uudecode $1
	chmod 600 $uudecodename
	mv $uudecodename ${uudecodename}.Z
	uncompress ${uudecodename}.Z
	tar xf $uudecodename
	/usr/bin/rtf-ascii index.rtf  | more
endifReadmail it extract the attachments and read
-- 
Laurent Demay (NeXT developer) |    I
voice     : (33 1) 45 74 43 07 |   /_\
fax       : (33 1) 44 09 80 73 |  / _ \ 
NeXT-mail : ld@diablo.fdn.org  | / / \ \ PARIS (FRANCE)
Technical Details
Message-ID: <1992Nov20.183309.3354@diablo.fdn.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!arakis.fdn.org!gamb.fdn.org!diablo!ld
References: <1992Nov19.141907.4918@cs.mcgill.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!arakis.fdn.org!gamb.fdn.org!diablo!ld
From: ld@diablo.fdn.org (Laurent Demay)
Subject: Re: NeXTmail format ?
Message-ID: <1992Nov20.183309.3354@diablo.fdn.org>
Sender: ld@diablo.fdn.org (Laurent Demay)
Reply-To: ld@diablo.fdn.org (Laurent Demay)
Organization: Home
References: <1992Nov19.141907.4918@cs.mcgill.ca>
Date: Fri, 20 Nov 1992 18:33:09 GMT
Lines: 30