From 10bb72c2b62fe8869996d618b98b04318a74ba74 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 3 Dec 2015 17:28:16 +0100 Subject: [PATCH] notmuch-reply doesn't use Reply-To --- 00/3113dadc30155583ec6a9a85fe6155e88e9fce | 95 +++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 00/3113dadc30155583ec6a9a85fe6155e88e9fce diff --git a/00/3113dadc30155583ec6a9a85fe6155e88e9fce b/00/3113dadc30155583ec6a9a85fe6155e88e9fce new file mode 100644 index 000000000..5ec2a8c1f --- /dev/null +++ b/00/3113dadc30155583ec6a9a85fe6155e88e9fce @@ -0,0 +1,95 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id CA2676DE119D + for ; Thu, 3 Dec 2015 08:35:19 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.54 +X-Spam-Level: +X-Spam-Status: No, score=-0.54 tagged_above=-999 required=5 + tests=[RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id hbwSalby1RVF for ; + Thu, 3 Dec 2015 08:35:15 -0800 (PST) +X-Greylist: delayed 414 seconds by postgrey-1.35 at arlo; + Thu, 03 Dec 2015 08:35:15 PST +Received: from bender.ldn-fai.net (bender.ldn-fai.net [80.67.188.162]) + by arlo.cworth.org (Postfix) with ESMTPS id 0DC3E6DE0B38 + for ; Thu, 3 Dec 2015 08:35:15 -0800 (PST) +From: Damien Cassou +To: notmuch@notmuchmail.org +Subject: notmuch-reply doesn't use Reply-To +Date: Thu, 03 Dec 2015 17:28:16 +0100 +Message-ID: <8737vjcx9b.fsf@cassou.me> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 03 Dec 2015 16:35:20 -0000 + +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:", 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 ", + "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 -- 2.26.2