Great Circle Associates List-Managers
(November 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Blocking all attachments
From: Nick Perry <nick . perry @ amulation . co . uk>
Date: Wed, 19 Nov 1997 18:00:48 +0000
To: list-managers @ GreatCircle . COM
In-reply-to: <199711190620.AAA09095@mail.unicom.com>; from Chip Rosenthal on Wed, Nov 19, 1997 at 12:20:51AM -0600
References: <199711190509.XAA22549@quilla.tezcat.com> <199711190620.AAA09095@mail.unicom.com>

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:
Indexed By Date Previous: Bounce message implications?
From: Thompson <thom@Qmail.com>
Next: Re: Bounce message implications?
From: "Rhonda Vandine (CSPACE)" <rvandine@unb.ca>
Indexed By Thread Previous: Re: Blocking all attachments
From: Chip Rosenthal <chip@unicom.com>
Next: Re: Blocking all attachments
From: "David W. Tamkin" <dattier@miso.wwa.com>

Google
 
Search Internet Search www.greatcircle.com