[Mailman-Users] MIME attachments in digest
alex wetmore
alex at phred.org
Fri Oct 13 16:10:19 CEST 2000
On Fri, 13 Oct 2000, Tim Potter wrote:
> I run a couple of medium volume lists using mailman and have
> noticed that that the digestifier doesn't seem to strip out any
> mime headers or otherwise unreadable content from messages before
> digestifing them.
>
> Does anyone have any tips for this? It's pretty annoying having
> to page through text versions then html versions of messages in a
> digest.
I have a perl filter at http://www.phred.org/~alex/stripmime.pl which
will remove all non-ascii MIME parts from your messages before they
make it to mailman.
Usage is simple. Add it before mailman in your /etc/aliases:
internet-bob: "|/usr/local/bin/stripmime.pl|/usr2/local/mailman/mail/
wrapper post internet-bob"
internet-bob-admin: "|/usr2/local/mailman/mail/wrapper mailowner internet-b
ob"
internet-bob-request: "|/usr2/local/mailman/mail/wrapper mailcmd internet-bob
"
owner-internet-bob: internet-bob-admin
internet-bob-owner: internet-bob-admin
There are similar scripts listed on freshmeat.net. The main
difference between my script and the others available is that I
don't ever read the whole message into memory, or write it down to
disk. My filter operates one line at a time and has a minimal
memory footprint. I've been running it for about 8 months now.
alex
More information about the Mailman-Users
mailing list