From 3fe0693498d434d7a5a72fe5eb5f564bc7f2426e Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 5 Dec 2015 08:07:19 +2000 Subject: [PATCH] Re: notmuch-reply doesn't use Reply-To --- 8b/60086974361eaca78c71220d76e716223bcb61 | 81 +++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 8b/60086974361eaca78c71220d76e716223bcb61 diff --git a/8b/60086974361eaca78c71220d76e716223bcb61 b/8b/60086974361eaca78c71220d76e716223bcb61 new file mode 100644 index 000000000..021795d64 --- /dev/null +++ b/8b/60086974361eaca78c71220d76e716223bcb61 @@ -0,0 +1,81 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 03D276DE143A + for ; Fri, 4 Dec 2015 04:07:26 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.325 +X-Spam-Level: +X-Spam-Status: No, score=-0.325 tagged_above=-999 required=5 tests=[AWL=0.226, + RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id E8lm72Fybk8v for ; + Fri, 4 Dec 2015 04:07:24 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 3F57E6DE1413 + for ; Fri, 4 Dec 2015 04:07:24 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1a4p8w-00079S-65; Fri, 04 Dec 2015 07:07:18 -0500 +Received: (nullmailer pid 6172 invoked by uid 1000); + Fri, 04 Dec 2015 12:07:19 -0000 +From: David Bremner +To: Damien Cassou , notmuch@notmuchmail.org +Subject: Re: notmuch-reply doesn't use Reply-To +In-Reply-To: <8737vjcx9b.fsf@cassou.me> +References: <8737vjcx9b.fsf@cassou.me> +User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Fri, 04 Dec 2015 08:07:19 -0400 +Message-ID: <87610e8ljc.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Fri, 04 Dec 2015 12:07:26 -0000 + +Damien Cassou writes: + +> Hi, +> +> I've the impression that notmuch-reply doesn't respect the Reply-To +> field: I've an email with a Reply-To field. But when I execute "notmuch +> reply id:", the To: field is set to the From: field of the +> original email and not to the Reply-To: field. +> + +Hmm. The following test suggests it doesn't ignore reply-to completely. +Maybe there is some side-effect from --reply-to=sender. What if you try +omitting that? + +test_begin_subtest "Support for Reply-To" +add_message '[from]="Sender "' \ + [to]=test_suite@notmuchmail.org \ + [subject]=notmuch-reply-test \ + '[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \ + '[body]="support for reply-to"' \ + '[reply-to]="Sender "' + +output=$(notmuch reply id:${gen_msg_id}) +test_expect_equal "$output" "From: Notmuch Test Suite +Subject: Re: notmuch-reply-test +To: Sender +In-Reply-To: <${gen_msg_id}> +References: <${gen_msg_id}> + +On Tue, 05 Jan 2010 15:43:56 -0000, Sender wrote: +> support for reply-to" + -- 2.26.2