[Mimedefang] Patch for MIME::Tools

Marco Berizzi pupilla at hotmail.com
Wed Apr 24 04:11:23 EDT 2002


Hi everybody. My filter mimedefang filter allow messages with certain
attachment, and bounce the entire message for all the other.
This morning I have applied the MIME-tools patch. After this I have
tried to send a bogus message like this:

From: "Marco Berizzi" <pupilla at hotmail.com>
To: "Berizzi Marco" <XXX at aive.it>
Subject: test scr
Date: Wed, 24 Apr 2002 09:20:14 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----=_NextPart_000_00FA_01C1EB71.3D9E7070"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

This is a multi-part message in MIME format.

------=_NextPart_000_00FA_01C1EB71.3D9E7070
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

test scr

------=_NextPart_000_00FA_01C1EB71.3D9E7070
Content-Type: audio/x-wav; name=foo[1].doc
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

test message scr
------=_NextPart_000_00FA_01C1EB71.3D9E7070--

and the message was reject. My filter allow *.doc (and other few
attach), and reject all the other, so it seems the mimedefang doesn't
understand that foo[1].doc is a *.doc attach. Is this correct?

----- Original Message -----
From: "Zhang Lin-bo" <zlb at lsec.cc.ac.cn>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Wednesday, April 24, 2002 2:11 AM
Subject: Re: [Mimedefang] Patch for MIME::Tools


> I have applied the patch yesterday, but this morning I
> still received an email with an attachment named banner[1].scr
> Are there any other steps that I should perform in order for
> the patch to take effect?
>
> LB
>
> On Mon, 22 Apr 2002, David F. Skoll wrote:
>
> > Hi,
> >
> > I have made a patch for MIME::Tools which causes it to recognize
things
> > like:
> >
> >         Content-Type: audio/x-wav; name=foo[1].pif
> >
> > whereas ordinarily it would require:
> >
> >         Content-Type: audio/x-wav; name="foo[1].pif"
> >
> > Please note that the first line is NOT MIME COMPLIANT.  Therefore,
the
> > MIME::Tools author could legitimately argue that it's an error to
> > accept the name as "foo[1].pif".  However, it seems to me that in
the
> > interest of safety, MIMEDefang should do what most MUA's are likely
to
> > do.
> >
> > The patch is linked from http://www.roaringpenguin.com/mimedefang/
> > (near the download section) and should be applied to MIME::Tools
5.411a.
> >
> > I think this will fix the problems another poster was having with
> > 8-bit characters in unquoted filenames.
> >
> > Regards,
> >
> > David.




More information about the MIMEDefang mailing list