From a521ea0356e500ec0f40b82d77617b70c7e271e6 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Fri, 11 May 2012 23:17:51 +0300 Subject: [PATCH] Re: [PATCH 1/2] cli: also use Delivered-To header to figure out the reply from address --- 15/30198ac251986c2574c162c41bdeb35f15d830 | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 15/30198ac251986c2574c162c41bdeb35f15d830 diff --git a/15/30198ac251986c2574c162c41bdeb35f15d830 b/15/30198ac251986c2574c162c41bdeb35f15d830 new file mode 100644 index 000000000..adde716ff --- /dev/null +++ b/15/30198ac251986c2574c162c41bdeb35f15d830 @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id BBFA0431FB6 + for ; Fri, 11 May 2012 13:17:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id hKy1KorJSA4Y for ; + Fri, 11 May 2012 13:17:57 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id 51025431FAE + for ; Fri, 11 May 2012 13:17:57 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 4F2E468021; Fri, 11 May 2012 23:17:51 +0300 (EEST) +From: Tomi Ollila +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] cli: also use Delivered-To header to figure out the + reply from address +In-Reply-To: + <21a946917c5c8dd63295b7c87b7c2d1ebcb6e71e.1336746160.git.jani@nikula.org> +References: + <21a946917c5c8dd63295b7c87b7c2d1ebcb6e71e.1336746160.git.jani@nikula.org> +User-Agent: Notmuch/0.13~rc1+7~gd4e318e (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 11 May 2012 20:17:58 -0000 + +On Fri, May 11 2012, Jani Nikula wrote: + +> Add another fallback header Delivered-To for guessing the user's from +> address for notmuch reply before using the Received +> headers. Apparently some MTAs use Delivered-To instead of +> X-Original-To (which already exists as a fallback). +> +> Reported-by: Michael Hudson-Doyle +> Signed-off-by: Jani Nikula +> --- + +LGTM -- both patches -- "All 437 tests passed." + +Tomi + +> notmuch-reply.c | 11 ++++++++--- +> 1 file changed, 8 insertions(+), 3 deletions(-) + -- 2.26.2