notmuch-reply doesn't use Reply-To
authorDamien Cassou <damien@cassou.me>
Thu, 3 Dec 2015 16:28:16 +0000 (17:28 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:06 +0000 (14:50 -0700)
00/3113dadc30155583ec6a9a85fe6155e88e9fce [new file with mode: 0644]

diff --git a/00/3113dadc30155583ec6a9a85fe6155e88e9fce b/00/3113dadc30155583ec6a9a85fe6155e88e9fce
new file mode 100644 (file)
index 0000000..5ec2a8c
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <damien@bender.ldn-fai.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id CA2676DE119D\r
+ for <notmuch@notmuchmail.org>; Thu,  3 Dec 2015 08:35:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.54\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.54 tagged_above=-999 required=5\r
+ tests=[RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id hbwSalby1RVF for <notmuch@notmuchmail.org>;\r
+ Thu,  3 Dec 2015 08:35:15 -0800 (PST)\r
+X-Greylist: delayed 414 seconds by postgrey-1.35 at arlo;\r
+ Thu, 03 Dec 2015 08:35:15 PST\r
+Received: from bender.ldn-fai.net (bender.ldn-fai.net [80.67.188.162])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 0DC3E6DE0B38\r
+ for <notmuch@notmuchmail.org>; Thu,  3 Dec 2015 08:35:15 -0800 (PST)\r
+From: Damien Cassou <damien@cassou.me>\r
+To: notmuch@notmuchmail.org\r
+Subject: notmuch-reply doesn't use Reply-To\r
+Date: Thu, 03 Dec 2015 17:28:16 +0100\r
+Message-ID: <8737vjcx9b.fsf@cassou.me>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 03 Dec 2015 16:35:20 -0000\r
+\r
+Hi,\r
+\r
+I've the impression that notmuch-reply doesn't respect the Reply-To\r
+field: I've an email with a Reply-To field. But when I execute "notmuch\r
+reply id:<msg-id>", the To: field is set to the From: field of the\r
+original email and not to the Reply-To: field.\r
+\r
+Here is the original email I want to reply to:\r
+\r
+    $ notmuch show --format=json --entire-thread=false --body=false "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp\r
+    [\r
+       [\r
+          [\r
+             {\r
+               [...]\r
+                "headers" : {\r
+                   "To" : "rmod@inria.fr",\r
+                   "Reply-To" : "rmod@inria.fr",\r
+                   "From" : "seaside@rmod.inria.fr",\r
+                   "Subject" : "[rmod] [Mm10s] 2015-11-30",\r
+                   "Date" : "Mon, 30 Nov 2015 07:00:01 +0100"\r
+                },\r
+    [...]\r
+\r
+\r
+Here is the result of notmuch-reply:\r
+\r
+    $ notmuch reply --reply-to=sender --format=json "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp\r
+    {\r
+       "reply-headers" : {\r
+          "References" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>",\r
+          "Subject" : "Re: [rmod] [Mm10s] 2015-11-30",\r
+          "To" : "seaside@rmod.inria.fr",\r
+          "From" : "Damien Cassou <damien.cassou@inria.fr>",\r
+          "In-reply-to" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>"\r
+       },\r
+       "original" : {\r
+          "tags" : [\r
+    [...]\r
+\r
+\r
+As you can see, the "To" field of the reply is not set from the original\r
+Reply-To: field, but from the original From: field.\r
+\r
+Can anyone help me please?\r
+\r
+-- \r
+Damien Cassou\r
+http://damiencassou.seasidehosting.st\r
+\r
+"Success is the ability to go from one failure to another without\r
+losing enthusiasm." --Winston Churchill\r