[Mailman-Developers] Stripping binaries attachments

Dan Mick Dan Mick <dmick@utopia.West.Sun.COM>
Fri, 19 Apr 2002 16:16:23 -0700 (PDT)


> >>>>> "DM" == Dan Mick <dmick@utopia.west.sun.com> writes:
> 
>     DM> For the question of HTML stripping, I think Mailman 2.1 only
>     DM> provides "archive stripping" by default.  I use, and am happy
>     DM> with, demime.
> 
> Heh, I guess this was a stealth checkin.  MM2.1b2 will support
> "content filtering", essentially what I think demime does as an
> add-on.  Les Niles supplied the basic code, which I modified.  It
> filters on specified MIME type, optionally converts text/html to
> text/plain, etc.

I thought I remembered this, but a casual glance didn't find the
code.  Now I see it, in MimeDel.py.  And now I must try it. 
If only I could find a list of every possible MIME type except
'text'.... :)

(I'll probably want to hack up another field there, that is
"Pass sections that have MIME types matching this...", for
bastards like me who want *nothing but text*, thank you...)