Skip Menu |
 

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 50175
Status: rejected
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: henny.janssen [...] bruker.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: henny.janssen54 [...] hotmail.com
Subject: E-mail messed up in Mimedefang
Date: Sat, 03 Oct 2009 08:31:15 +0200
To: bug-MIME-tools [...] rt.cpan.org
From: "H.Janssen" <henny.janssen [...] bruker.nl>
Download (untitled) / with headers
text/plain 849b
Dear maintainer, I had a serious problem with Mimedefang, which I could isolate to mime-tools. In the attached e-mail, the =" sequence is encoded to =3D", but the next =00,part of the license code is not encoded, so decoded by the mailprogram to NULL, so messing up the license file. Perl script for testing, using MIME-tools-5.427 use MIME::Parser; MIME::Tools->debugging(1); open(IN,"<t1.eml"); $parser=new MIME::Parser; $entity=$parser->parse(\*IN); $entity->print(\*STDOUT); E-mail attached as text and tar.gz file [user1@linuxpc ~]$ diff t1.eml out.eml 1d0 < From "henny.janssen"@bruker.nl Sat Oct 03 07:15:20 2009 69c68 < 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=" for \ --- Show quoted text
> 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=3D" for \
Thanks a lot and kind Regards, H.Janssen Bruker Netherlands
Download t1.eml
application/x-mimearchive 3.7k

Message body not shown because it is not plain text.

Download t1.tar.gz
application/x-compressed-tar 1.4k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #50175] AutoReply: E-mail messed up in Mimedefang
Date: Sat, 03 Oct 2009 16:20:36 +0200
To: bug-MIME-tools [...] rt.cpan.org
From: Henny Janssen <henny.janssen [...] bruker.nl>
Download (untitled) / with headers
text/plain 2.4k
Dear Developer, I'm sorry, I have to clarify. The e-mail I got has embedded e-mails with quoted-printable format. The embedded e-mail with the license is saved on disk, and attached to a new mail to send it to a customer. In mean time, the quoted-printable has been decoded, but the Content-Transfer encoding header is in the datafile and thus in the attachment. Apparently, the MIME-tools interpret this Content-Transfer-Encoding, which is, in this case, not a header, but part of the data of the attachment. If I just remove that line from the saved e-mail attachments, the problem is no longer there, so I have a workaround. Thanks and good luck. Bugs in MIME-tools via RT schreef: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "E-mail messed up in Mimedefang", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #50175]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=50175 > > Please include the string: > > [rt.cpan.org #50175] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-MIME-tools@rt.cpan.org > > ------------------------------------------------------------------------- > Dear maintainer, > > I had a serious problem with Mimedefang, which I could isolate to mime-tools. > > In the attached e-mail, the =" sequence is encoded to =3D", but > the next =00,part of the license code is not encoded, so decoded by the > mailprogram to NULL, > so messing up the license file. > > Perl script for testing, using MIME-tools-5.427 > > > use MIME::Parser; > MIME::Tools->debugging(1); > open(IN,"<t1.eml"); > $parser=new MIME::Parser; > $entity=$parser->parse(\*IN); > $entity->print(\*STDOUT); > > > E-mail attached as text and tar.gz file > > > [user1@linuxpc ~]$ diff t1.eml out.eml > 1d0 > < From "henny.janssen"@bruker.nl Sat Oct 03 07:15:20 2009 > 69c68 > < 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=" for \ > --- >
>> 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=3D" for \ >>
> > > > > Thanks a lot and kind Regards, > > H.Janssen > Bruker Netherlands > > >
--- H.G.J.M.Janssen Bruker BioSpin B.V. Bruynvisweg 16-18 NL 1530AB Wormer Tel. : (75) 6285251 Fax : (75) 6289771 E-Mail henny.janssen@bruker.nl
Subject: Re: [rt.cpan.org #50175] AutoReply: E-mail messed up in Mimedefang Please remove this bug, operator error
Date: Sat, 03 Oct 2009 23:53:45 +0200
To: bug-MIME-tools [...] rt.cpan.org
From: Henny Janssen <henny.janssen [...] bruker.nl>
Download (untitled) / with headers
text/plain 2.7k
Dear Developer, Please remove this bug. Apologize for this premature report. What happens is: Thunderbird writes an embedded Outlook e-mail, Quoted Printable, in an .eml file. The file is decoded to plain text, but the header "content-transfer-encoding quoted printable" is left. If the file is attached to a new mail, it is attached as message/rfc828 , and mime-tools rebuilds the structure and replaces = by =3D on the assumption that it's quoted-printable. But this kills the message content. "kmail" of KDE4 writes only the decoded contents, without the embedded headers, an usable workaround. Which program should be considered as buggy in this chain, I do not know, I think Thunderbird has to be blamed to leave the content-transfer-encoding header in the .eml after decoding. I'll just rename the .eml files to .txt, they will be attached as text/plain and the problem is solved..... Thanks and kind regards, Bugs in MIME-tools via RT schreef: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "E-mail messed up in Mimedefang", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #50175]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=50175 > > Please include the string: > > [rt.cpan.org #50175] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-MIME-tools@rt.cpan.org > > ------------------------------------------------------------------------- > Dear maintainer, > > I had a serious problem with Mimedefang, which I could isolate to mime-tools. > > In the attached e-mail, the =" sequence is encoded to =3D", but > the next =00,part of the license code is not encoded, so decoded by the > mailprogram to NULL, > so messing up the license file. > > Perl script for testing, using MIME-tools-5.427 > > > use MIME::Parser; > MIME::Tools->debugging(1); > open(IN,"<t1.eml"); > $parser=new MIME::Parser; > $entity=$parser->parse(\*IN); > $entity->print(\*STDOUT); > > > E-mail attached as text and tar.gz file > > > [user1@linuxpc ~]$ diff t1.eml out.eml > 1d0 > < From "henny.janssen"@bruker.nl Sat Oct 03 07:15:20 2009 > 69c68 > < 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=" for \ > --- >
>> 8BCEC0C172DC8FA5631F HOSTID=000acd11a7aa vendor_info=3D" for \ >>
> > > > > Thanks a lot and kind Regards, > > H.Janssen > Bruker Netherlands > > >
--- H.G.J.M.Janssen Bruker BioSpin B.V. Bruynvisweg 16-18 NL 1530AB Wormer Tel. : (75) 6285251 Fax : (75) 6289771 E-Mail henny.janssen@bruker.nl
Ok, I'll mark the ticket as rejected. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.