On Mon, 17 May 1999, Eric Smith wrote:
> How do I decode and view automatically? What rule would I use in the
> /etc/mailcap cause the file does not have a specific ending.
If you want automatic view, then you have to convert uuencode to MIME
by using emil (http://www.spinnaker.de/debian/#emil) and procmail with
the following rules:
#
# Try to convert UUENCODE to MIME
#
:0
* Content-Type: text
{
:0 fBw
* ^begin [0-7][0-7[0-7]
* ^end
| formail -i Mime-Version | emil -G mime8_user
}
:0
* !Content-Type:
{
:0 fBw
* ^begin [0-7][0-7][0-7]
* ^end
| emil -G mime8_user
}
If you want to decode already received mails, you may want to simply
pipe the mail into uudeview
(http://www.uni-frankfurt.de/~fp/uudeview/) with the following macro:
macro index \eu "|uudeview -\n" "uudecode mail(s)"
macro pager \eu "|uudeview -\n" "uudecode mail"
macro attach \eu "|uudeview -\n" "uudecode attachment"
Now ESC u uudecodes the mail(s).
> Also where may I download urlview?
ftp://ftp.cs.hmc.edu/pub/me/urlview-0.7.tar.gz
Ciao
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *
PGP: 1024/DD08DD6D 2D E7 CC DE D5 8D 78 BE 3C A0 A4 F1 4B 09 CE AF