On Wed, Nov 19, 1997 at 12:20:51AM -0600, Chip Rosenthal wrote:
> Adam Bailey writes:
> > The problem is, attachments are not really a standard.
>
> Eh??? base64 encoding is a formal standard. uuencode encoding is
> a defacto standard. Either is easily recognized and reliably
> handled.
FWIW - a quick piece of perl I wrote to strip certain mime types and
uuencoded/binhexed parts is in my majordomo patches ftp directory:
ftp://ftp.amulation.com/pub/majordomo_patches/mailstrip
It does what I want and although wriiten only for my use - is
configurable, to a certain extent.
I insert it into my mail aliases thus:
mylist: "|/bin/mailstrip | /whatever/was/there/before"
As supplied, it stips any MIME part that isn't text/plain and/or
any MIME part that is base64 encoded and or anything that follows
a 'begin nnn' line (uuencoded att.) or a '(This file must be converted
with BinHex' line (macintosh binhex)
Though, as mentioned, it can be modified via (perl) regexps reasonably
easily.
I'm not pretending that it is professional quality software - but it
may make someones life easier....
Nick
--
Nick Perry | Home / Recreation | Work - AboarD |
| LONDON SW1, UK | LONDON SW6, UK |
| http://www.amulation.co.uk/nick | http://www.aboard.co.uk |
| nick.perry@amulation.co.uk | np@aboard.co.uk |
Follow-Ups:
References:
|
|