Re: proposal to remove contrib/notmuch-vim and contrib/notmuch-deliver
authorSebastian Schwarz <seschwar@gmail.com>
Wed, 4 Sep 2013 14:53:44 +0000 (16:53 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:55 +0000 (09:56 -0800)
f4/bdf43fc070a417840e467edb2d91a4c6d18ba5 [new file with mode: 0644]

diff --git a/f4/bdf43fc070a417840e467edb2d91a4c6d18ba5 b/f4/bdf43fc070a417840e467edb2d91a4c6d18ba5
new file mode 100644 (file)
index 0000000..0b59245
--- /dev/null
@@ -0,0 +1,107 @@
+Return-Path: <seschwar@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 273DC429E34\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Sep 2013 07:54:00 -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 EH94IdXveUO9 for <notmuch@notmuchmail.org>;\r
+       Wed,  4 Sep 2013 07:53:53 -0700 (PDT)\r
+Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com\r
+       [209.85.215.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 0DC90429E32\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Sep 2013 07:53:52 -0700 (PDT)\r
+Received: by mail-ea0-f173.google.com with SMTP id g10so244085eak.18\r
+       for <notmuch@notmuchmail.org>; Wed, 04 Sep 2013 07:53:50 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:date:message-id:mime-version\r
+       :content-type; bh=9cE+Yqc1TndHv21Yhup9mPeWZSmIFqzwpEn4Aejrq1Q=;\r
+       b=XCUt70g2zYEnFEFH6krv/Wex/Yd3kElsvIbBqmpgc6aW/XYk3nnOqC6Roh8S+RSGGB\r
+       ErDwcIW9PzzDhrmeOygdCJ80/WUh2DXpGojpwsNnw9Co59T1Kzhp3q7aOj+qoduOx3aM\r
+       IOLWf2VIhHAhc83AE4auTpO5n84UF8esXfHY+m0s22lty1W0Uv0WSdTaxA6dMxIdnxh7\r
+       jNMtsBWyWSmc7AtUWnMN8Fc2twS1z4LqT7mqBf0gV21iHmXN9nOKur/QdiVqpmR15X92\r
+       Ie5NahEhsNE/66ZBp+y91z63qZLBFG62r5mJq+jfFTXIK4OFEi3Ygkejjkn9eQ3MTTHH\r
+       d+lw==\r
+X-Received: by 10.14.89.72 with SMTP id b48mr5395592eef.43.1378306430018;\r
+       Wed, 04 Sep 2013 07:53:50 -0700 (PDT)\r
+Received: from localhost (f049134146.adsl.alicedsl.de. [78.49.134.146])\r
+       by mx.google.com with ESMTPSA id a1sm40662876eem.1.1969.12.31.16.00.00\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r
+       Wed, 04 Sep 2013 07:53:49 -0700 (PDT)\r
+From: Sebastian Schwarz <seschwar@gmail.com>\r
+To: notmuch mailing list <notmuch@notmuchmail.org>\r
+Subject: Re: proposal to remove contrib/notmuch-vim and\r
+ contrib/notmuch-deliver\r
+In-Reply-To: <87a9jsriii.fsf@zancas.localnet>\r
+References: <87ioygrkhj.fsf@zancas.localnet>\r
+       <uaxa9jsncfm.fsf@beesknees.cern.ch>\r
+       <87a9jsriii.fsf@zancas.localnet>\r
+Date: Wed, 04 Sep 2013 16:53:44 +0200\r
+Message-ID:\r
+ <874na0y6x3.fsf@pineapple.i-did-not-set--mail-host-address--so-tickle-me>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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, 04 Sep 2013 14:54:00 -0000\r
+\r
+Hello,\r
+\r
+On 2013-04-09, David Bremner <david@tethera.net> wrote:\r
+> David Belohrad <david@belohrad.ch> writes:\r
+>\r
+>> is actually someone using notmuch deliver?\r
+\r
+I am using notmuch-deliver with maildrop.  This allows me to\r
+filter and tag based on any header field of the message.\r
+\r
+>> [...]\r
+>\r
+> notmuch-deliver is replaced by notmuch insert\r
+\r
+Because of the way notmuch-insert(1) deals with failure it is\r
+entirely useless to me.  From the manual page:\r
+\r
+> This command returns exit status 0 if the message was\r
+> successfully added to the mail directory, even if the message\r
+> could not be indexed and added to the notmuch database.\r
+\r
+This means that if the index is locked when a message is\r
+delivered it will not be tagged appropriately.  The message will\r
+still be written to disk.  However if you rely on the tags to\r
+find the message it effectively gets lost.\r
+\r
+notmuch-insert(1) should fail if it isn't able to successfully\r
+perform all of the following three tasks:\r
+\r
+- write the message to disk\r
+- index the message\r
+- tag the message\r
+\r
+It should return with a non-0 exit status and let its caller --\r
+the MDA or another notmuch client -- handle the failure, since\r
+notmuch-insert(1) cannot make any guarantees by itself anyway.\r
+This would usually make an MDA retry delivering the message at a\r
+later time.\r
+\r
+Regards,\r
+Sebastian\r