Re: notmuch-reply doesn't use Reply-To

Subject: Re: notmuch-reply doesn't use Reply-To

Date: Fri, 04 Dec 2015 08:07:19 -0400

To: Damien Cassou, notmuch@notmuchmail.org

Cc:

From: David Bremner


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"


Thread: