From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <david@tethera.net> Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 03D276DE143A for <notmuch@notmuchmail.org>; 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 <notmuch@notmuchmail.org>; 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 <notmuch@notmuchmail.org>; Fri, 4 Dec 2015 04:07:24 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from <david@tethera.net>) 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 <david@tethera.net> To: Damien Cassou <damien@cassou.me>, 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." <notmuch.notmuchmail.org> List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>, <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> List-Archive: <http://notmuchmail.org/pipermail/notmuch/> List-Post: <mailto:notmuch@notmuchmail.org> List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>, <mailto:notmuch-request@notmuchmail.org?subject=subscribe> X-List-Received-Date: Fri, 04 Dec 2015 12:07:26 -0000 Damien Cassou <damien@cassou.me> 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:<msg-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 <sender@example.com>"' \ [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 <elsewhere@example.com>"' output=$(notmuch reply id:${gen_msg_id}) test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org> Subject: Re: notmuch-reply-test To: Sender <elsewhere@example.com> In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote: > support for reply-to"