Searching messages by size with notmuch
authorAntoine Amarilli <a3nm@a3nm.net>
Fri, 22 Jan 2016 15:13:18 +0000 (16:13 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:55 +0000 (16:20 -0700)
16/d1006ed14b74fb76dc6961cbda34d69df39ecb [new file with mode: 0644]

diff --git a/16/d1006ed14b74fb76dc6961cbda34d69df39ecb b/16/d1006ed14b74fb76dc6961cbda34d69df39ecb
new file mode 100644 (file)
index 0000000..9c32edd
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <a3nm@a3nm.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 853926DE0B2F\r
+ for <notmuch@notmuchmail.org>; Fri, 22 Jan 2016 07:22:28 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.101\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id NlNkyhfxmNuQ for <notmuch@notmuchmail.org>;\r
+ Fri, 22 Jan 2016 07:22:24 -0800 (PST)\r
+X-Greylist: delayed 541 seconds by postgrey-1.35 at arlo;\r
+ Fri, 22 Jan 2016 07:22:23 PST\r
+Received: from ulminfo.fr (ulminfo.fr [176.31.242.187])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D16046DE0B26\r
+ for <notmuch@notmuchmail.org>; Fri, 22 Jan 2016 07:22:23 -0800 (PST)\r
+Received: from mu.a3nm.net (unknown\r
+ [IPv6:2a01:e34:ec05:d6e0:96de:80ff:feba:7495])\r
+ (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\r
+ (No client certificate requested)\r
+ by ulminfo.fr (Postfix) with ESMTPSA id 0917B4159F;\r
+ Fri, 22 Jan 2016 16:13:19 +0100 (CET)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a3nm.net; s=default;\r
+ t=1453475599; bh=m96GiYH2Rsx1HGU2Fnsuxh+AFl0PWZ6yZgKHf6d8WZk=;\r
+ h=Date:From:To:Subject:From;\r
+ b=qgITbspKlqVxr7sJ8GMa5zC/hrPV3vMDmN+/SvO0V92PJ0aVZL1Ph0F60euYswSSW\r
+ GErdDKcWDEEHlNTdgWai+KRZB4uZAaLX+aJU6WQ4k5xDbqzoRZgYo2xfOZ+Inm6nMP\r
+ RBIy43ErKyV1My6/eCC7zYZgTVLhoYtqqiVAgntU=\r
+Date: Fri, 22 Jan 2016 16:13:18 +0100\r
+From: Antoine Amarilli <a3nm@a3nm.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: Searching messages by size with notmuch\r
+Message-ID: <20160122151318.GA17099@mu.a3nm.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+ protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ"\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.24 (2015-08-30)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 22 Jan 2016 15:22:28 -0000\r
+\r
+\r
+--lrZ03NoBR/3+SXJZ\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi everyone,\r
+\r
+After chatting on #notmuch, I wanted to suggest a feature which would be\r
+useful, at least to me: searching for messages by size.\r
+\r
+My use case would be to look for long messages, but dkg on IRC mentioned\r
+that it could also be useful to clean up messages to save disk space.\r
+\r
+It is unclear whether the size of a message should be defined as that of\r
+a single copy of the message, or that of all copies; and it is unclear\r
+whether it should be the total size (for my purposes I would have been\r
+interested in the size of the plaintext part of the message only).\r
+Ideally I'd say that all of these could make sense.\r
+\r
+Would anyone else on the list be interested by such a feature?\r
+\r
+Best,\r
+\r
+--=20\r
+Antoine Amarilli\r
+\r
+\r
+--lrZ03NoBR/3+SXJZ\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIcBAEBCgAGBQJWokcOAAoJEIDYiyLUMwMxK6YP/R5ASmpBPp3r+Xz5Y2GH5grC\r
+8BYt4S/NjbeqUWf6O7aIRV6IUWca5V7ydVr0wm6wDgWvDtIrVxP4cVTM01m2KArw\r
+9T9D2o+GQmRPAGBzFRA/TIby08wZutRV/bvRePHp7J868JSmEZVqBVx4bSsVrtaL\r
+gZS6v3SnRDLl92xVlDPsGPkx9jVnSaC5jKEbAcvRic8xN9X7ZBGFfj7+PvnT5ojI\r
+SqB8kWlOFWHytT18wbzz8gId+EfhPV9GYa71dwskwePAN7MoxUyom7tNtfSk23qQ\r
+QGMy9VqmoZf9udtMoys8jYJuukRhYhDbvBb7oGoseSkz9g0CwLIN+CSAeT1GDjLz\r
+5u0OgIvKKMrYHD6qukFE+CTG/uDmqJRQiq0ZBg1oDtH6OuIKOOdieeOyFIwEyemv\r
+iL7PSrwTk9ABAuMp53NPSuzQGzGKImLBrD/5g4GKL7SngoplgkLmNbynFk0Hl2ff\r
+DNEZrVgp1C/1j72UiguSVch2Im7cH5WmwAOht4jonIgyPHQlrjuN8udkaBawZk1H\r
+POtuQYDRaiEP31Q6IZoPMaLB/14UgxZ5rZs3//XIDjXF+q9mS/8llZtXA0RU8S+T\r
+D8bitDconW8pdIbFLiP0CtCWmOhP9cZSblFcqhA7I/6j6vXAyknxQxSRYYsHk0jT\r
+OSAHMLN94frn5gXgZNbA\r
+=7zBk\r
+-----END PGP SIGNATURE-----\r
+\r
+--lrZ03NoBR/3+SXJZ--\r