[Mimedefang] .eml attach not removed
David F. Skoll
dfs at roaringpenguin.com
Wed Feb 27 09:16:29 EST 2002
Here is a copy of (part of) the mail message with the .eml attachment:
------=_NextPart_000_00A9_01C1BF74.E0841A70
Content-Type: message/rfc822;
name="marco.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="marco.eml"
Note the content-type of "message/rfc822". By default, MIME::tools
processes this as a nested complete message, and gets confused. It's
the wrong thing to do in this case.
You can change mimedefang.pl.in, line 1803 to read:
$parser->extract_nested_messages(0);
which will not make it look inside message/rfc822 attachments. This has
its own problems, however; bad attachments inside "multipart" message/rfc822
attachments will be skipped.
This is definitely a problem. I will have to work on a solution.
Regards,
David.
Roaring Penguin Software Inc. | http://www.roaringpenguin.com
GPG fingerprint: C523 771C 3710 0F54 B2D2 4B0D C6EF 6991 34AB 95BA
GPG public key: http://www.roaringpenguin.com/dskoll-key-2002.txt ID: 34AB95BA
More information about the MIMEDefang
mailing list