<<< Date Index >>>     <<< Thread Index >>>

mutt/2761: mime_forward does not work for text/rfc822-headers attachments



>Number:         2761
>Category:       mutt
>Synopsis:       mime_forward does not work for text/rfc822-headers attachments
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 13 16:55:02 +0100 2007
>Originator:     Christoph Berg <cb@xxxxxxxx>
>Release:        
>Description:

Hi,

the following was submitted as Debian Bug #340506, I can confirm that
behavior here with 1.5.13.

(Cc'ing mutt-dev for the attachments)

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

--3MwIy2ne0vdjdPXF
Content-Type: message/rfc822
Content-Disposition: inline

Received: (at submit) by bugs.debian.org; 23 Nov 2005 22:20:34 +0000
Return-path: <ambrose.li@xxxxxxxxx>
Received: from 66-163-1-120.ip.tor.radiant.net ([66.163.1.120])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ef2yg-00089n-8G
        for submit@xxxxxxxxxxxxxxx; Wed, 23 Nov 2005 14:20:34 -0800
Received: from tea.staff.cccgt.org ([172.17.1.166]:46816 "EHLO tea" ident:
        "postfix") by vaogate.cccgt.org with ESMTP id S76AbVKWWUY;
        Wed, 23 Nov 2005 17:20:24 -0500
Received: by tea (Postfix, from userid 500)
        id 4E8D0E495; Wed, 23 Nov 2005 17:20:24 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ambrose Li <ambrose.li@xxxxxxxxx>
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: mutt: mime_forward does not work for attachments of type 
text/rfc822-headers
X-Mailer: reportbug 3.17
Date: Wed, 23 Nov 2005 17:20:24 -0500
Message-Id: <20051123222024.4E8D0E495@tea>
Delivered-To: submit@xxxxxxxxxxxxxxx
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
Reply-To: 340506@xxxxxxxxxxxxxxx

Package: mutt
Version: 1.5.10-1
Severity: normal


If I try to forward an attachment of type text/rfc822-headers, mutt will 
forward it in-line and with lots of headers deleted. This happens even if I 
explicitly "set mime_forward".

It is thus currently impossible to forward "full headers" for spam reporting if 
the only headers available are inside a text/rfc822-headers attachment.

(Workaround is to save the attachment to a file, then insert the file from the 
text editor. Therefore the bug is "normal" and not "important".)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.28-ow1
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)

Versions of packages mutt depends on:
ii  libc6                        2.3.5-8     GNU C Library: Shared libraries an
ii  libdb4.3                     4.3.29-1    Berkeley v4.3 Database Libraries [
ii  libgnutls11                  1.0.16-13.1 GNU TLS library - runtime library
ii  libidn11                     0.5.18-1    GNU libidn library, implementation
ii  libncursesw5                 5.5-1       Shared libraries for terminal hand
ii  libsasl2                     2.1.19-1.7  Authentication abstraction library
ii  postfix [mail-transport-agen 2.2.4-1.0.1 A high-performance mail transport 

Versions of packages mutt recommends:
ii  locales                       2.3.5-8    GNU C Library: National Language (
ii  mime-support                  3.35-1     MIME files 'mime.types' & 'mailcap

-- no debconf information



--3MwIy2ne0vdjdPXF
Content-Type: message/rfc822
Content-Disposition: inline

Received: (at 340506) by bugs.debian.org; 27 Mar 2006 20:36:52 +0000
Return-path: <acli@xxxxxxxxxxxxxxxxxxx>
Received: from 66-163-1-120.ip.tor.radiant.net ([66.163.1.120])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1FNySJ-0004fE-Qh
        for 340506@xxxxxxxxxxxxxxx; Mon, 27 Mar 2006 12:36:52 -0800
Received: from tea.staff.cccgt.org ([172.17.1.166]:45231 "EHLO tea" ident:
        "root") by vaogate.cccgt.org with ESMTP id S79AbWC0UgY;
        Mon, 27 Mar 2006 15:36:24 -0500
Received: (from localhost user: 'acli' uid#500 fake: STDIN (acli@tea))
        by tea.staff.cccgt.org id S58414AbWC0Ufm (ORCPT
        <rfc822;dato@xxxxxxxxxxxxxx> + 1 other);
        Mon, 27 Mar 2006 15:35:42 -0500
Date: Mon, 27 Mar 2006 15:35:42 -0500
Sender: Ambrose Li <acli@xxxxxxxxxxxxxxxxxxx>
From: Ambrose Li <ambrose.li@xxxxxxxxx>
To: 340506@xxxxxxxxxxxxxxx, Adeodato Sim?? <dato@xxxxxxxxxxxxxx>
Subject: Re: Bug#340506: mutt: mime_forward does not work for attachments of 
type text/rfc822-headers
Message-ID: <20060327203542.GF2444@xxxxxxxxxxxxxxxxxxx>
References: <20051123222024.4E8D0E495@tea> 
<20051124005540.GA13097@xxxxxxxxxxxxxxx> 
<20060130035057.GA12892@xxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="m972NQjnE83KvVa/"
Content-Disposition: inline
In-Reply-To: <20060130035057.GA12892@xxxxxxxxxxxxxxx>
Disposition-Notification-To: ambrose.li@xxxxxxxxx
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
Reply-To: 340506@xxxxxxxxxxxxxxx


--m972NQjnE83KvVa/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi

sorry for the late reply; such bounces are hard to come by (most have the
complete mail in them, and I don't know how to make an artificial sample).

I just got the odd one (which is also an odd one) today.

Please find a sample mbox attached.

Regards,
Ambrose

On Mon, Jan 30, 2006 at 04:50:57AM +0100, Adeodato Sim?? wrote:
> Hi, any updates on this? Thanks.
> 
> * Adeodato Sim?? [Thu, 24 Nov 2005 01:55:40 +0100]:
> 
> > * Ambrose Li [Wed, 23 Nov 2005 17:20:24 -0500]:
> 
> > Hi,
> 
> > > If I try to forward an attachment of type text/rfc822-headers, mutt
> > > will forward it in-line and with lots of headers deleted. This happens
> > > even if I explicitly "set mime_forward".
> 
> > > It is thus currently impossible to forward "full headers" for spam
> > > reporting if the only headers available are inside a
> > > text/rfc822-headers attachment.
> 
> >   There are several more forwarding-related options; could I have a
> >   sample mbox to test?
> 
> >   If not, what are the value of your $mime_forward_decode and
> >   $mime_forward_rest variables? Also, if you set $mime_forward to no,
> >   does unsetting $forward_decode help?
> 
> > > (Workaround is to save the attachment to a file, then insert the file
> > > from the text editor. Therefore the bug is "normal" and not
> > > "important".)
> 
> >   As a last resort, I believe you could also unset $weed.
> 
> >   I wait your feedback on this bug report,
> 
> 
> -- 
> Adeodato Sim??                                     dato at net.com.org.es
> Debian Developer                                  adeodato at debian.org
>  
> Everything you read in newspapers is absolutely true, except for that
> rare story of which you happen to have first-hand knowledge.
>                 -- Erwin Knoll
> 


--m972NQjnE83KvVa/
Content-Type: text/plain; charset=big5
Content-Disposition: attachment; filename="340506-sample.mbox.gz"
Content-Transfer-Encoding: quoted-printable

=1F=8B=08=08=10K(D=02=03340506-sample.mbox=00=A5Vio=E2H=10=FD=EE_Q=E2=CB$=
=DA=ED=8E=0Fl=88        
(^p=16$.a=E7=D0F=D1=A8=03=0D=E9=0C=D8=96=DDN=96=7F=BF=D5=
=E6J8v2=9A(QZ}T=BF=F7=BA=AA=9Eo=D2x=01=D7=10=BE=E4=D0c)=98=16=E8U=D74\=EB=
=12L]w=B4=07=12=08=FE=C6]=18/r=92=A9!=98T=D7F|=CC=C5=1B=9F=B80U=01=DEX<c=92=
=D3=F1x<=934Ngp=F6hTLjT=A8M=1D=FB=C95=AC=AAy    %=BF=DD=1Dh=B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g=04|=9C=A7<=
=C4=CC=C0S=F7,=C5=CE=A6>=1AnF=83=1E=F41=A3=B9=C2=05]=81=FAM=E86pO=85\{=F5=
=9D=D7=ED=B4=B6+A=C2=16=10=F2Lf=B02=A8]=BC=ED=9E=C2)F=E8G=D0=C6=8FI=17p=A1=
=89=D5%=B1=D3=AFlu8=EA=DCy=A1O=1AM=AF=EF=B5<=D2=98p=F5JLu=DEu=14=A2=90)'=E8=
=0C]=F8X=BA=9B=F5=11W=1F=A5=9C=B4=FA=81=FB=B3=EA=DF=9C=B9o=87=DDN=10"=A2_j=
=E4=84h=DA=7F=FBk       ?=D0=0B=00=00
--m972NQjnE83KvVa/--



--3MwIy2ne0vdjdPXF--

>Fix:

Unknown
>Add-To-Audit-Trail:

>Unformatted:
 --3MwIy2ne0vdjdPXF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline