From 3a0f248c0e8e058ad3515ec3cc825804f93d328e Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Thu, 24 May 2012 08:15:48 +0300 Subject: [PATCH] [PATCH v2 0/2] delivered-to for reply address guessing --- 2f/1556891ad82e4469124e8648f6a3e5a5c4750a | 79 +++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 2f/1556891ad82e4469124e8648f6a3e5a5c4750a diff --git a/2f/1556891ad82e4469124e8648f6a3e5a5c4750a b/2f/1556891ad82e4469124e8648f6a3e5a5c4750a new file mode 100644 index 000000000..b70da12c9 --- /dev/null +++ b/2f/1556891ad82e4469124e8648f6a3e5a5c4750a @@ -0,0 +1,79 @@ +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 E5526431FCF + for ; Wed, 23 May 2012 22:15:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 XD-gfPdBrUKb for ; + Wed, 23 May 2012 22:15:56 -0700 (PDT) +Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com + [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id BEC67431FC4 + for ; Wed, 23 May 2012 22:15:55 -0700 (PDT) +Received: by lagu2 with SMTP id u2so6544458lag.26 + for ; Wed, 23 May 2012 22:15:54 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:subject:date:message-id:x-mailer:x-gm-message-state; + bh=iJUGzyHDRyi0t26wGjp3xFoGK4J9aplS4qHJW91Hje4=; + b=oSCKG5M6r9YGHn3mx1PnyYv6WSevZ/iqaVRwemeQbpDpwxpXs/ljAnUCQNr0k6vjfh + w+Cjx1eNvuMZkK43YCQscHH6Hj3rfZuOSXdH2GC2ry9YVQ/72+fWvaXndpLqWMzaas9F + yBASneMoRqe50Q+lIahRHBBW1gPBCCjDzV1tyXE5aPE03ognqZNu0zWfEJOjX20FPCFK + v/SaPozeObPl60ANZGS21p5sEkcwTkxPpXLPcT/cZITX0ieoxymuAS4wlsqdwu13SaAq + 1ZFVQzeJHghwxIu3Gs1WNsYs0NeDP29oWznqrklebuSny+DGMTBdt6iq1jUkcRcBMiEH + xtFQ== +Received: by 10.152.124.141 with SMTP id mi13mr13689868lab.50.1337836553959; + Wed, 23 May 2012 22:15:53 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi. + [80.220.80.68]) + by mx.google.com with ESMTPS id gv8sm39072084lab.14.2012.05.23.22.15.52 + (version=SSLv3 cipher=OTHER); Wed, 23 May 2012 22:15:53 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/2] delivered-to for reply address guessing +Date: Thu, 24 May 2012 08:15:48 +0300 +Message-Id: +X-Mailer: git-send-email 1.7.9.5 +X-Gm-Message-State: + ALoCoQmi+bGZ062afc7qQLuWfo+CrKJ4gnw8yo3B9x/3DtA48DGqyHRULBkR4OjRQjAlrwmPq9vs +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: Thu, 24 May 2012 05:15:58 -0000 + +id:"21a946917c5c8dd63295b7c87b7c2d1ebcb6e71e.1336746160.git.jani@nikula.org" +rebased against current master. No changes since v1. + +BR, +Jani. + +Jani Nikula (2): + cli: also use Delivered-To header to figure out the reply from + address + test: add tests for notmuch reply From guessing + + notmuch-reply.c | 11 ++++++++--- + test/reply | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 63 insertions(+), 3 deletions(-) + +-- +1.7.9.5 + -- 2.26.2