notmuch-reply doesn't use Reply-To

Damien Cassou damien at cassou.me
Thu Dec 3 08:28:16 PST 2015


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 at rmod.inria.fr" | json_pp
    [
       [
          [
             {
               [...]
                "headers" : {
                   "To" : "rmod at inria.fr",
                   "Reply-To" : "rmod at inria.fr",
                   "From" : "seaside at 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 at rmod.inria.fr" | json_pp
    {
       "reply-headers" : {
          "References" : "<565be5e1.X5p1I6XirRudvMa6%seaside at rmod.inria.fr>",
          "Subject" : "Re: [rmod] [Mm10s] 2015-11-30",
          "To" : "seaside at rmod.inria.fr",
          "From" : "Damien Cassou <damien.cassou at inria.fr>",
          "In-reply-to" : "<565be5e1.X5p1I6XirRudvMa6%seaside at 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


More information about the notmuch mailing list