1 Return-Path: <david@tethera.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 03D276DE143A
\r
6 for <notmuch@notmuchmail.org>; Fri, 4 Dec 2015 04:07:26 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.325 tagged_above=-999 required=5 tests=[AWL=0.226,
\r
12 RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id E8lm72Fybk8v for <notmuch@notmuchmail.org>;
\r
16 Fri, 4 Dec 2015 04:07:24 -0800 (PST)
\r
17 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
18 by arlo.cworth.org (Postfix) with ESMTPS id 3F57E6DE1413
\r
19 for <notmuch@notmuchmail.org>; Fri, 4 Dec 2015 04:07:24 -0800 (PST)
\r
20 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
21 (envelope-from <david@tethera.net>)
\r
22 id 1a4p8w-00079S-65; Fri, 04 Dec 2015 07:07:18 -0500
\r
23 Received: (nullmailer pid 6172 invoked by uid 1000);
\r
24 Fri, 04 Dec 2015 12:07:19 -0000
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: Damien Cassou <damien@cassou.me>, notmuch@notmuchmail.org
\r
27 Subject: Re: notmuch-reply doesn't use Reply-To
\r
28 In-Reply-To: <8737vjcx9b.fsf@cassou.me>
\r
29 References: <8737vjcx9b.fsf@cassou.me>
\r
30 User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1
\r
31 (x86_64-pc-linux-gnu)
\r
32 Date: Fri, 04 Dec 2015 08:07:19 -0400
\r
33 Message-ID: <87610e8ljc.fsf@zancas.localnet>
\r
35 Content-Type: text/plain
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.20
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Fri, 04 Dec 2015 12:07:26 -0000
\r
50 Damien Cassou <damien@cassou.me> writes:
\r
54 > I've the impression that notmuch-reply doesn't respect the Reply-To
\r
55 > field: I've an email with a Reply-To field. But when I execute "notmuch
\r
56 > reply id:<msg-id>", the To: field is set to the From: field of the
\r
57 > original email and not to the Reply-To: field.
\r
60 Hmm. The following test suggests it doesn't ignore reply-to completely.
\r
61 Maybe there is some side-effect from --reply-to=sender. What if you try
\r
64 test_begin_subtest "Support for Reply-To"
\r
65 add_message '[from]="Sender <sender@example.com>"' \
\r
66 [to]=test_suite@notmuchmail.org \
\r
67 [subject]=notmuch-reply-test \
\r
68 '[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \
\r
69 '[body]="support for reply-to"' \
\r
70 '[reply-to]="Sender <elsewhere@example.com>"'
\r
72 output=$(notmuch reply id:${gen_msg_id})
\r
73 test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
74 Subject: Re: notmuch-reply-test
\r
75 To: Sender <elsewhere@example.com>
\r
76 In-Reply-To: <${gen_msg_id}>
\r
77 References: <${gen_msg_id}>
\r
79 On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
\r
80 > support for reply-to"
\r