🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #3334

Re: About FTP mail

#3334
From: Ken Bibb
Date: Sun, 03 Jan 1993 21:55
45 lines
2434 bytes
In <93Jan3.232019eet.10250-1@utu.fi> mea@utu.fi (Matti Aarnio) writes:

>In comp.mail.misc  W.M.Chung <wmchung@ie.cuhk.hk> wrote:
>>Hello!
>>
>>I have a question about FTP mail. I know that FTP mail can mail
>>a specific file to a user. If the file is a program, than how
>>to extract from the mail? As you know, a mail has a mail header
>>in the front.

>  There is no single beast known as "FTP mail".
>  [description of archive mailers deleted]

I think W.M.Chung was asking how to extract programs from mail, rather
than asking for a rundown of ftpmailers :^)

Most programs are sent/requested as source code (if extremely short) or
as tar files (this is the normal situation).  Since the tars are usually
compressed in an eight-bit format, one of two formats is typically
used:  btoa or uuencode.  With ftpmail@decwrl, you can state which
format you'd like the file in.  

If, like me, you specify uuencoded format, you can use the uuconvert
program to strip out the mail headers/signatures from the files and
then automatically uudecode the file.  Otherwise, you'll probably have to
manually strip the stuff out with an editor (like vi).

I highly recommend doing it the uuconvert route.

Another option if the mail messages arrived in order is to use the
nn newsreader.  If you have a set mail maildir line in your ~/.nn/init
file, you can do a :rmail, highlight all of the articles (that you
want decoded) then do a :decode to it.

If you don't have the set mail line in your init file, you can specify
the file in your command line (I think it's nn -f /usr/spool/mail/wmchung).
Once again, highlight the articles you want decoded and use :decode.

Enjoy!

-- 
Ken Bibb                "he heard the snow falling faintly through the
kbibb@qualcomm.com	 universe and faintly falling, like the descent of
jester@crash.cts.com     their last end, upon all the living and the dead."
				--"The Dead", James Joyce
Technical Details
Message-ID: <root.726098134@maui>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!network.ucsd.edu!qualcom.qualcomm.com!maui!root
References: <1993Jan1.150011.16594@cucs5.cs.cuhk.hk> <93Jan3.232019eet.10250-1@utu.fi>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!network.ucsd.edu!qualcom.qualcomm.com!maui!root
From: kbibb@maui.qualcomm.com (Ken Bibb)
Subject: Re: About FTP mail
Message-ID: <root.726098134@maui>
Sender: news@qualcomm.com
Nntp-Posting-Host: maui.qualcomm.com
Organization: Qualcomm, Inc., San Diego, CA
References: <1993Jan1.150011.16594@cucs5.cs.cuhk.hk> <93Jan3.232019eet.10250-1@utu.fi>
Date: Sun, 3 Jan 1993 21:55:34 GMT
Lines: 46