[Mailman-Users] MIME issue

alex wetmore alex at phred.org
Thu Jun 22 16:52:05 CEST 2000


I was careful not to use the Mime-Tools package because it seemed to
want to write temporary files and/or use large memory buffers for doing
the parsing.  My script was designed to be a single pass, and the only
buffer that it keeps is for the original message headers (it can't begin
writing those until it knows what it has to strip out of them).

My script does do some reporting of what has been stripped, but it does
not include the filename.  Adding the filename shouldn't be too hard
though.  I have some other cleanup work to do on the script, and can see
about adding it to the next version.  Another feature which I have been
thinking of adding is something to send the full source of the message
to another recipient so that I could analyze them for debugging
purposes.

There are some other stripping tools which have been written recently
that also use the Mime-tools package.  You might want to look at
http://www.freshmeat.net.  Take a look at
http://freshmeat.net/news/2000/06/21/961561626.html.

alex

----- Original Message -----
From: "Ryan Fife" <fife at AnywhereYouGo.com>
To: <mailman-users at python.org>
Sent: Thursday, June 22, 2000 12:22 AM
Subject: Re: [Mailman-Users] MIME issue


>
> alex,
>
> I was inspired by your work and wanted to do some more detailed
reporting
> on what was deleted...I found that it was a more difficult parsing
task
> than I thought it initially would be...so I started over and wrote a
script
> that uses the Mime-Tools package...
>
> One word of caution for people - remember to leave the mbox "From"
header
> in or your archiving won't work!  I know this has been discussed a lot
on
> this list in the past...I just overlooked it in my script...took a
while
> to track that one down.
>
> Anyway, it's at:
>
> http://www.mindspring.com/~fife/mailman/ayg_maillist_filter.pl
>
> The "deleted" report shows you the MIME type and recommended filename
if
> there was one.
>
> On Mon, Jun 19, 2000 at 10:44:27AM -0700, alex wetmore wrote:
> > From: "Johnson, April" <ajohnson at mail.xperts.com>
> > > Has anyone else encountered this issue?  If so, how did you work
> > around it?
> >
> > My solution is to filter all HTML (and other MIME attachments) from
> > emails heading into my mailing lists.
> >
> > http://www.phred.org/~alex/stripmime.pl has the perl script that I
wrote
> > to do this.
> >
> > alex
> >
> >
> > ------------------------------------------------------
> > Mailman-Users maillist  -  Mailman-Users at python.org
> > http://www.python.org/mailman/listinfo/mailman-users
>
> --
> Ryan Fife
> fife at AnywhereYouGo.com
>  Creators of the world's first online WAP testing tool:
>  http://www.AnywhereYouGo.com/Content.po?name=lab/About
>
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users
>





More information about the Mailman-Users mailing list