Re: notmuch-mutt: support for duplicate message removal
authorAndrei POPESCU <andreimpopescu@gmail.com>
Wed, 1 Aug 2012 16:26:05 +0000 (19:26 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:42 +0000 (09:48 -0800)
d3/4796c846c10fef55ca1fce42a9321dba807051 [new file with mode: 0644]

diff --git a/d3/4796c846c10fef55ca1fce42a9321dba807051 b/d3/4796c846c10fef55ca1fce42a9321dba807051
new file mode 100644 (file)
index 0000000..e7104fd
--- /dev/null
@@ -0,0 +1,118 @@
+Return-Path: <andreimpopescu@gmail.com>\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 82E7A431FAF\r
+       for <notmuch@notmuchmail.org>; Wed,  1 Aug 2012 09:26:13 -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 8VPjEyhPyMAP for <notmuch@notmuchmail.org>;\r
+       Wed,  1 Aug 2012 09:26:13 -0700 (PDT)\r
+Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com\r
+       [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CB660431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  1 Aug 2012 09:26:12 -0700 (PDT)\r
+Received: by wibhm6 with SMTP id hm6so3386390wib.2\r
+       for <notmuch@notmuchmail.org>; Wed, 01 Aug 2012 09:26:10 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=date:from:to:cc:subject:message-id:references:mime-version\r
+       :content-type:content-disposition:in-reply-to:user-agent;\r
+       bh=uZncHVjK6WiDMd0AkEhlgrnkKzgoNiRoKDe1eKW7lZU=;\r
+       b=ll2nEYQNX2iW0o3oQ6eSgBAGINEFWuFBkno1JV/h6+dB9GTBAGafumg4K8ZHpSVI7t\r
+       Ty4QJaOhcc6kROptjis5Omoo5E4VrK5vIgsEMMMIuLJa80mcweXyWw9Em0czryrn+8aM\r
+       MDRwvnbkVK1wHFogzhAXtYE2q35bHfYOl9Mx6IdOQVchuhabdIxmUCZKQ5gYljgtsCPc\r
+       c9kxR+lBisPPdONarnZKBzefKzazMqngzQsvTd3DY+ujOTGjFlb13FjW3AZQ3P3a+O5+\r
+       gFqCym8gEjbAQr2CDydCCrBwHmbcUrldtneg4SSOTU8ZVdC7/JR36hER/plyjyctAGfY\r
+       2RRg==\r
+Received: by 10.216.242.196 with SMTP id i46mr8993015wer.118.1343838370218;\r
+       Wed, 01 Aug 2012 09:26:10 -0700 (PDT)\r
+Received: from sid.nuvreauspam ([92.86.142.199])\r
+       by mx.google.com with ESMTPS id w7sm28619122wiz.0.2012.08.01.09.26.07\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 01 Aug 2012 09:26:08 -0700 (PDT)\r
+Received: by sid.nuvreauspam (Postfix, from userid 1077)\r
+       id C41E0C0796; Wed,  1 Aug 2012 19:26:05 +0300 (EEST)\r
+Date: Wed, 1 Aug 2012 19:26:05 +0300\r
+From: Andrei POPESCU <andreimpopescu@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>\r
+Subject: Re: notmuch-mutt: support for duplicate message removal\r
+Message-ID: <20120801162605.GA6012@sid.nuvreauspam>\r
+References: <1343808582-9519-1-git-send-email-zack@upsilon.cc>\r
+       <87pq7aam8n.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha256;\r
+       protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62"\r
+Content-Disposition: inline\r
+In-Reply-To: <87pq7aam8n.fsf@nikula.org>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+Cc: notmuch@notmuchmail.org, "Kevin J. McCarthy" <kevin@8t8.us>,\r
+       Stefano Zacchiroli <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: Wed, 01 Aug 2012 16:26:13 -0000\r
+\r
+\r
+--+QahgC5+KEYLbs62\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mi, 01 aug 12, 13:24:24, Jani Nikula wrote:\r
+> On Wed, 01 Aug 2012, Stefano Zacchiroli <zack@upsilon.cc> wrote:\r
+> >\r
+> > Also, if you've further comments on the patch, do not hesitate!\r
+>=20\r
+> I'm guessing you get the duplicates because you have dupes in the mail\r
+> store, and 'notmuch search --output=3Dfiles' prints all the filenames\r
+> associated with each matching message, rather than any other reason. The\r
+> presented approach will only remove identical files, and will leave\r
+> behind files that are basically the same message, but have differing\r
+> headers, e.g. due to being received through different channels. Is this\r
+> what you want?\r
+\r
+I'm at least one user that cares enough about the distinction to have=20\r
+all list mails received via a different address, just to avoid Gmail's=20\r
+"feature" of silently dropping my own messages received via a list.=20\r
+IMVHO it should at least be configurable...\r
+\r
+Kind regards,\r
+Andrei\r
+--=20\r
+If you can't explain it simply, you don't understand it well enough.\r
+(Albert Einstein)\r
+\r
+--+QahgC5+KEYLbs62\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: Digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQEcBAEBCAAGBQJQGVidAAoJEHNWs3jeoi3pD78H+wdA8X3plLE9oM96hZZ/sIwF\r
+pdsepQJea8hRWtS57vcfnZvQQENR6daWSZVBWaWUV3uv/KXQRw9VdJfujTi9VIlK\r
++y5gR1ltugg9FK0Xx6S8RQ+lJwgKr8cZ4yAKCJZufOz4uoH2cMhfSTctLwqhERJ4\r
+pWYdgNPFOJAMqrEf6lBBJ798ahXA7qMQImKefM1r6ck7V65eoS1lkYnNKkEzfDAh\r
+eCseG4FoAzY4XtBpJHn1LOjMF/fw5fcy/4zOxA/HGxHQhJk+xAYFkx+nhwJeUk/R\r
+sQ807rJBpX4KvfuUQkvLgP+5oxJiyhL7xkOYx/QTq6dKvAs1Z1h3i3zoTKyR8Kc=\r
+=jm6P\r
+-----END PGP SIGNATURE-----\r
+\r
+--+QahgC5+KEYLbs62--\r