notmuch-mutt: switch to using the new --duplicate flag
authorKevin McCarthy <kevin@8t8.us>
Thu, 5 Sep 2013 02:05:49 +0000 (19:05 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:57 +0000 (09:56 -0800)
ea/f9532f15c043f1435270c4d7616abb94a4b0d1 [new file with mode: 0644]

diff --git a/ea/f9532f15c043f1435270c4d7616abb94a4b0d1 b/ea/f9532f15c043f1435270c4d7616abb94a4b0d1
new file mode 100644 (file)
index 0000000..cb2a96c
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <keevan@fastmail.fm>\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 8C637429E4D\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Sep 2013 19:14:03 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 5+jT+FSNu1oW for <notmuch@notmuchmail.org>;\r
+       Wed,  4 Sep 2013 19:13:59 -0700 (PDT)\r
+X-Greylist: delayed 465 seconds by postgrey-1.32 at olra;\r
+       Wed, 04 Sep 2013 19:13:59 PDT\r
+Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com\r
+       [66.111.4.27])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 476D6429E43\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Sep 2013 19:13:59 -0700 (PDT)\r
+Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44])\r
+       by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 2796720DDB;\r
+       Wed,  4 Sep 2013 22:06:14 -0400 (EDT)\r
+Received: from frontend1 ([10.202.2.160])\r
+       by compute4.internal (MEProxy); Wed, 04 Sep 2013 22:06:14 -0400\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=8t8.us; h=from:to\r
+       :cc:subject:date:message-id; s=mesmtp; bh=hYXQJiW9lnJcq4Exo8xk/K\r
+       cf0J8=; b=btWhjS7r8ldVQXKd0VY8lPzx6FwVr0Z+xzB2WSiDTePrrNBDbGU68x\r
+       R5/VRmZgEXWl4rMiV1ceegvKw+bOxqo1z7Ec/sfulmZDBSYYxYix9s7u6x/kZbf4\r
+       X4ePRNZrv3UmKT2rB2cj2+1qAwalp4gbutew1FDmBQvHTHRcACGIY=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=\r
+       messagingengine.com; h=from:to:cc:subject:date:message-id; s=\r
+       smtpout; bh=hYXQJiW9lnJcq4Exo8xk/Kcf0J8=; b=KngWm4SXJlZF5p2fFr8E\r
+       FKCDRaWeJTEYjkuUl0b+0FZ9Lzkzsc0iGOlEf5O1m/b0qe4pWArCwI55JKzMhFZJ\r
+       kmJD6FOKiz3Iqh/cV04H6LuL8m2QVfW6O2afB0LQWBfuy3NCVPeOMsL4dR2e1C/r\r
+       K5XMtWwbmxViEaEPtQdE/cE=\r
+X-Sasl-enc: aDrtr6xUjEW5x0ScecFEFsO4XIgHVUXtMblC9ZabOzG1 1378346773\r
+Received: from localhost (unknown [97.125.94.9])\r
+       by mail.messagingengine.com (Postfix) with ESMTPA id A3EE1C00E7F;\r
+       Wed,  4 Sep 2013 22:06:13 -0400 (EDT)\r
+From: Kevin McCarthy <kevin@8t8.us>\r
+To: notmuch@notmuchmail.org\r
+Subject: notmuch-mutt: switch to using the new --duplicate flag\r
+Date: Wed,  4 Sep 2013 19:05:49 -0700\r
+Message-Id: <1378346751-25548-1-git-send-email-kevin@8t8.us>\r
+X-Mailer: git-send-email 1.8.4.rc3\r
+Cc: zack@upsilon.cc\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, 05 Sep 2013 02:14:03 -0000\r
+\r
+This patch series changes notmuch-mutt to use the new built-in\r
+--duplicate flag for removing duplicates by message-id.\r
+\r
+This should speed up duplicate removal, since we no longer need to scan\r
+and compute sha sums.  However, it does now allow search results to be\r
+hidden in the event of accidental or malicious message-id re-use.\r
+\r
+The duplicate removal is optional, but is currently enabled by default\r
+in the distributed /etc/Muttrc.d/notmuch-mutt.rc file.\r
+\r
+Please don't hesitate to comment if this change is too controversial!\r
+\r
+Thank you,\r
+\r
+-Kevin\r