[Mimedefang] RECOMMENDED: Apply this patch to MIME::Tools

Marco Berizzi pupilla at hotmail.com
Thu Mar 14 06:52:09 EST 2002


Great!!! No I will try to patch it.

----- Original Message ----- 
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Wednesday, March 13, 2002 11:46 PM
Subject: [Mimedefang] RECOMMENDED: Apply this patch to MIME::Tools


> Hi,
> 
> Marco Berizzi found strange behaviour with attachments of type
> "message/rfc822".  I recommend applying the following patch to
> the "Parser.pm" file in MIME::Tools.  It prevents MIME::Tools from
> misinterpreting a single-part message/rfc822 part as an embedded
> multipart mail message.
> 
> Regards,
> 
> David.
> 
> --- Parser.pm.ORIG      Sun Nov 12 00:55:11 2000
> +++ Parser.pm   Wed Mar 13 17:37:01 2002
> @@ -998,6 +998,7 @@
>         $self->process_multipart($in, $rdr, $ent);
>      }
>      elsif (("$type/$subtype" eq "message/rfc822") &&
> +          $head->count('MIME-Version') > 0 &&
>            $self->extract_nested_messages) {
>         $self->debug("attempting to process a nested message");
>         $self->process_message($in, $rdr, $ent);




More information about the MIMEDefang mailing list