[PATCH v2 0/2] delivered-to for reply address guessing
authorJani Nikula <jani@nikula.org>
Thu, 24 May 2012 05:15:48 +0000 (08:15 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:19 +0000 (09:47 -0800)
2f/1556891ad82e4469124e8648f6a3e5a5c4750a [new file with mode: 0644]

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