Re: Message deletion wisdom
authorSebastian Spaeth <sebastian@sspaeth.de>
Sun, 8 Apr 2012 22:24:29 +0000 (00:24 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:09 +0000 (09:46 -0800)
24/3a937f654e16bbee9d6354336dcb694500839e [new file with mode: 0644]

diff --git a/24/3a937f654e16bbee9d6354336dcb694500839e b/24/3a937f654e16bbee9d6354336dcb694500839e
new file mode 100644 (file)
index 0000000..239e919
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <sebastian@sspaeth.de>\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 9E1BE429E30\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Apr 2012 15:24:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 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] 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 tLbgQeqYcp6f for <notmuch@notmuchmail.org>;\r
+       Sun,  8 Apr 2012 15:24:34 -0700 (PDT)\r
+Received: from homiemail-a19.g.dreamhost.com (caiajhbdcagg.dreamhost.com\r
+       [208.97.132.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id C5AF9431FAE\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Apr 2012 15:24:33 -0700 (PDT)\r
+Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id BF448604076;\r
+       Sun,  8 Apr 2012 15:24:32 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=references\r
+       :in-reply-to:mime-version:content-type:subject:from:date:to\r
+       :message-id:content-transfer-encoding; q=dns; s=sspaeth.de; b=ab\r
+       bOyKmLML2viH/LfqV8f1+IoIZWZlwf4zWJJGScaIyTBH/8pwV1xlxMxK9wu4fCnk\r
+       z/UCTRV9mYT8v77XZK4cvCL7Ugq7RxqloahvMF37apswpIY5IR2bxVCSOmz5CTvw\r
+       GgAFoNb4lY30+gKss5oMmYFEAAMEArMgcfVVW8QlQ=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=references\r
+       :in-reply-to:mime-version:content-type:subject:from:date:to\r
+       :message-id:content-transfer-encoding; s=sspaeth.de; bh=9Bb6oQ7x\r
+       MF3IWDvHcFXkq6mR/sc=; b=IPMav46sn3RXAgyXlO+sroIHT/gwjOBWMRQmOAnH\r
+       5Pid6vzZu6JcTmeuN2T+3dh5n9qXNUk57gVj3dftBnsy1ukTDAVj4IiWzbCvEdH0\r
+       m1ObgHMcyJEKLC6LqiXN5YtQlLryAw2QueM1sclb/aBGudNCA1Ep5ilwWlNNCMCb\r
+       vts=\r
+Received: from [192.168.178.21] (unknown [176.46.225.50])\r
+       (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: sebastian@sspaeth.de)\r
+       by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPSA id 43F20604078; \r
+       Sun,  8 Apr 2012 15:24:30 -0700 (PDT)\r
+References: <0cc49af3-5415-419d-97ef-2bec76117d63@CERNFE22.cern.ch>\r
+       <87sjgk2xzf.fsf@servo.finestructure.net>\r
+User-Agent: K-9 Mail for Android\r
+In-Reply-To: <87sjgk2xzf.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=UTF-8\r
+Subject: Re: Message deletion wisdom\r
+From: Sebastian Spaeth <sebastian@sspaeth.de>\r
+Date: Mon, 09 Apr 2012 00:24:29 +0200\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Jacek Generowicz <jacek.generowicz@cern.ch>, notmuch@notmuchmail.org\r
+Message-ID: <96a8fc19-0ff3-4184-bb1c-5599f86e1463@email.android.com>\r
+Content-Transfer-Encoding: quoted-printable\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: Sun, 08 Apr 2012 22:24:37 -0000\r
+\r
+Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+>So in summary, if you would like to "delete" messages, you can:\r
+>\r
+> * add a key binding to emacs (or your favorite ui) to add a "deleted"\r
+>   tag to messages that you want to delete:\r
+>\r
+>    (define-key notmuch-show-mode-map "d"\r
+>      (lambda ()\r
+>        (interactive)\r
+>        (notmuch-show-tag-message "+deleted")))\r
+>\r
+> * add exclusion for messages with the "deleted" tag:\r
+>\r
+>    notmuch config set search.exclude_tags deleted\r
+>\r
+> * and if you really want them purged from disk, delete them manually\r
+>   with:\r
+>\r
+>    notmuch search --output=3Dfiles tag:deleted | xargs -l rm\r
+\r
+Thanks Jamie, that ws a very helpful summary.\r
+\r
+Sebastian\r
+\r
+--=20\r
+Sent from my Android phone with K-9 Mail. Please excuse my brevity.\r