[Mailman-Users] Re: stripmime.pl doesn't?

alex wetmore alex at phred.org
Fri Mar 22 18:54:45 CET 2002


On Fri, 22 Mar 2002, Skip Montanaro wrote:
> Viewing a generated plain text digest I can't see that stripmime.pl did
> anything.  None of the five messages was lost, but none appear to have been
> altered in any way.  Am I perhaps missing something?  I thought it's main
> thing was to zap HTML attachments.

It does.

For testing purposes you can run HTML enabled message through it
without involving sendmail.  This is one of my test messages:

[phred:p5] ~ % cat mimehtml | perl www/stripmime.pl
>From alex at phred.org  Thu Jan 20 12:20:54 2000
Received: from AWETMOREDEV (root at localhost [127.0.0.1])
        by phred.org (8.9.1a/8.9.1) with SMTP id MAA17923
        for <alex at phred.org>; Thu, 20 Jan 2000 12:20:53 -0800 (PST)
Message-ID: <003b01bf6383$a5e86640$01fa3b9d at AWETMOREDEV>
From: "alex wetmore" <alex at phred.org>
To: <alex at phred.org>
Subject: HTML encoded
Date: Thu, 20 Jan 2000 12:19:25 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-StripMime: Non-text section removed by stripmime
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;charset="iso-8859-1"

This is foobar

This is a file:



--- StripMime Report -- processed MIME parts ---
multipart/mixed
  multipart/alternative
    text/plain (text body -- kept)
    text/html
  application/octet-stream
---

If that works then something is wrong with the way you have installed
it with your MTA.  I can't do anything to help with MTA installation,
since that varies so much depending on what software and OS you are
using.

I put a copy of my mimehtml test message online at
http://www.phred.org/~alex/mimehtml

alex





More information about the Mailman-Users mailing list