notmuch-reply doesn't use Reply-To

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

Date: Thu, 03 Dec 2015 17:28:16 +0100

To: notmuch@notmuchmail.org

Cc:

From: Damien Cassou


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.

Here is the original email I want to reply to:

    $ notmuch show --format=json --entire-thread=false --body=false "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp
    [
       [
          [
             {
               [...]
                "headers" : {
                   "To" : "rmod@inria.fr",
                   "Reply-To" : "rmod@inria.fr",
                   "From" : "seaside@rmod.inria.fr",
                   "Subject" : "[rmod] [Mm10s] 2015-11-30",
                   "Date" : "Mon, 30 Nov 2015 07:00:01 +0100"
                },
    [...]


Here is the result of notmuch-reply:

    $ notmuch reply --reply-to=sender --format=json "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp
    {
       "reply-headers" : {
          "References" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>",
          "Subject" : "Re: [rmod] [Mm10s] 2015-11-30",
          "To" : "seaside@rmod.inria.fr",
          "From" : "Damien Cassou <damien.cassou@inria.fr>",
          "In-reply-to" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>"
       },
       "original" : {
          "tags" : [
    [...]


As you can see, the "To" field of the reply is not set from the original
Reply-To: field, but from the original From: field.

Can anyone help me please?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

Thread: