[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#446917: marked as done (mimedecode: attached rfc822 emails stop the processing of an email)



Your message dated Sun, 23 Aug 2009 23:42:54 +0100
with message-id <1251067374.196432.9143.nullmailer@kmos.homeip.net>
and subject line Package mimedecode has been removed from Debian
has caused the Debian Bug report #446917,
regarding mimedecode: attached rfc822 emails stop the processing of an email
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
446917: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446917
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mimedecode
Version: 1.9-4
Severity: important


Please consider this email as input (a stripped-down email with
2 email attachments):

| MIME-Version: 1.0
| Content-Type: multipart/mixed;
| 	boundary="----_=_NextPart_026_01C81003.683F8A00"
| 
| ------_=_NextPart_026_01C81003.683F8A00
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
| 
| Content-Type: text/plain;
| 	charset="iso-8859-1"
| Content-Transfer-Encoding: quoted-printable
| 
| =20
| 
| ------_=_NextPart_026_01C81003.683F8A00
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
| 
| Content-Type: text/plain;
| 	charset="iso-8859-1"
| Content-Transfer-Encoding: quoted-printable
| 
| =20
| 
| ------_=_NextPart_026_01C81003.683F8A00

Here is the output I get when passed through mimedecode:

| MIME-Version: 1.0
| Content-Type: multipart/mixed;
| 	boundary="----_=_NextPart_026_01C81003.683F8A00"
| 
| ------_=_NextPart_026_01C81003.683F8A00
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
| 
| Content-Type: text/plain;
| 	charset="iso-8859-1"
| X-Content-transfer-encoding: fixed from quoted-printable
| Content-Transfer-Encoding: 8bit
| 
|  
| 
| ------_=_NextPart_026_01C81003.683F8A00

As you can see, the second attachment has been discarded!

Here is the output I would expect:

| MIME-Version: 1.0
| Content-Type: multipart/mixed;
| 	boundary="----_=_NextPart_026_01C81003.683F8A00"
| 
| ------_=_NextPart_026_01C81003.683F8A00
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
| 
| Content-Type: text/plain;
| 	charset="iso-8859-1"
| X-Content-transfer-encoding: fixed from quoted-printable
| Content-Transfer-Encoding: 8bit
| 
|  
| 
| ------_=_NextPart_026_01C81003.683F8A00
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
| 
| Content-Type: text/plain;
| 	charset="iso-8859-1"
| X-Content-transfer-encoding: fixed from quoted-printable
| Content-Transfer-Encoding: 8bit
| 
|  
| 
| ------_=_NextPart_026_01C81003.683F8A00

This change fixes the problem, but I don't know if it breaks
anything else as I suspect that (char *)0 was there for
something:

--- /home/stephane/tmp/mimedecode.c~	2007-10-16 16:54:05.553595000 +0100
+++ mimedecode.c	2007-10-16 16:54:05.000000000 +0100
@@ -306,7 +306,7 @@ char   *boundary;
 	/* When message is type message we have to handle the body as
 	 * an individual message.
 	 */
-	parse_message((char *)0);
+	parse_message(boundary);
     }
     else
     {


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages mimedecode depends on:
ii  libc6                         2.6.1-4    GNU C Library: Shared libraries

mimedecode recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.9-4+rm

You filled the bug http://bugs.debian.org/446917 in Debian BTS
against the package mimedecode. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/354177. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: