From: Mark Walters Date: Tue, 10 Sep 2013 09:12:00 +0000 (+0100) Subject: reply to messages with message/rfc822 parts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cbd3508a973dd66eed43e61b813726c54117d785;p=notmuch-archives.git reply to messages with message/rfc822 parts --- diff --git a/21/575155ce7dadc16e9f1899d035311bc67c47a4 b/21/575155ce7dadc16e9f1899d035311bc67c47a4 new file mode 100644 index 000000000..cd00ed30a --- /dev/null +++ b/21/575155ce7dadc16e9f1899d035311bc67c47a4 @@ -0,0 +1,93 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id EF87D431FAF + for ; Tue, 10 Sep 2013 02:12:19 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -1.098 +X-Spam-Level: +X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TNm59jILgDRa for ; + Tue, 10 Sep 2013 02:12:14 -0700 (PDT) +Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id ED3B8431FAE + for ; Tue, 10 Sep 2013 02:12:13 -0700 (PDT) +Received: from smtp.qmul.ac.uk ([138.37.6.40]) + by mail2.qmul.ac.uk with esmtp (Exim 4.71) + (envelope-from ) + id 1VJJzN-0007lo-EE; Tue, 10 Sep 2013 10:12:06 +0100 +Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) + by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) + (envelope-from ) + id 1VJJzN-0006w0-0s; Tue, 10 Sep 2013 10:12:01 +0100 +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: reply to messages with message/rfc822 parts +User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Tue, 10 Sep 2013 10:12:00 +0100 +Message-ID: <87sixdujkv.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Sender-Host-Address: 93.97.24.31 +X-QM-SPAM-Info: Sender has good ham record. :) +X-QM-Body-MD5: 338cdcf2c572a19819ce108c0ae893df (of first 20000 bytes) +X-SpamAssassin-Score: 0.0 +X-SpamAssassin-SpamBar: / +X-SpamAssassin-Report: The QM spam filters have analysed this message to + determine if it is + spam. We require at least 5.0 points to mark a message as spam. + This message scored 0.0 points. Summary of the scoring: + * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail + provider * (markwalters1009[at]gmail.com) + * 0.0 AWL AWL: From: address is in the auto white-list +X-QM-Scan-Virus: ClamAV says the message is clean +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 10 Sep 2013 09:12:20 -0000 + + +Hello + +I was trying to reply to a message I had forwarded to someone (to update +the information sent in the first message) and came across some strange +behaviour. + + +The initial forward was done using notmuch-emacs: this took the message +and sent it as a message/rfc822 mimetype complete message. Since I had +added some text at the top this meant the message as a whole was +multipart/mixed with my text/plain at the top and the message/rfc822 +below. + +Then I tried to reply to this message and the text/plain part was +included in the reply but the message/rfc822 part was not. In this case +the message/rfc822 just had headers and a text/plain subpart so I would +have expected it to be included. + +I imagine we actually want to recurse into the message/rfc822 part +including relevant subparts. I tried tweaking notmuch-mua.el to do this +but, so far, I have failed. (I will have another look) + +Best wishes + +Mark +