Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 89D59431FDD for ; Thu, 5 Sep 2013 02:12:48 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.401 X-Spam-Level: * X-Spam-Status: No, score=1.401 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gddc+VnxDFVk for ; Thu, 5 Sep 2013 02:12:44 -0700 (PDT) Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BE306431FDB for ; Thu, 5 Sep 2013 02:12:43 -0700 (PDT) Received: from smtp.qmul.ac.uk ([138.37.6.40]) by mail2.qmul.ac.uk with esmtp (Exim 4.71) (envelope-from ) id 1VHVcD-0007zE-Cv; Thu, 05 Sep 2013 10:12:40 +0100 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1VHVcC-00081u-SN; Thu, 05 Sep 2013 10:12:37 +0100 From: Mark Walters To: Sebastian Schwarz , notmuch mailing list Subject: Re: proposal to remove contrib/notmuch-vim and contrib/notmuch-deliver In-Reply-To: <874na0y6x3.fsf@pineapple.i-did-not-set--mail-host-address--so-tickle-me> References: <87ioygrkhj.fsf@zancas.localnet> <87a9jsriii.fsf@zancas.localnet> <874na0y6x3.fsf@pineapple.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Notmuch/0.15.2+269~g01f5508 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Thu, 05 Sep 2013 10:12:36 +0100 Message-ID: <87r4d3r5rv.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender-Host-Address: 93.97.24.31 X-QM-SPAM-Info: Sender has good ham record. :) X-QM-Body-MD5: eb670bd230e51f57adebafb7d62a89c8 (of first 20000 bytes) X-SpamAssassin-Score: 0.6 X-SpamAssassin-SpamBar: / X-SpamAssassin-Report: The QM spam filters have analysed this message to determine if it is spam. We require at least 5.0 points to mark a message as spam. This message scored 0.6 points. Summary of the scoring: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (markwalters1009[at]gmail.com) * 1.0 FREEMAIL_REPLY From and body contain different freemails * -0.4 AWL AWL: From: address is in the auto white-list X-QM-Scan-Virus: ClamAV says the message is clean X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 09:12:48 -0000 On Wed, 04 Sep 2013, Sebastian Schwarz wrote: > Hello, > > On 2013-04-09, David Bremner wrote: >> David Belohrad writes: >> >>> is actually someone using notmuch deliver? > > I am using notmuch-deliver with maildrop. This allows me to > filter and tag based on any header field of the message. > >>> [...] >> >> notmuch-deliver is replaced by notmuch insert > > Because of the way notmuch-insert(1) deals with failure it is > entirely useless to me. From the manual page: > >> This command returns exit status 0 if the message was >> successfully added to the mail directory, even if the message >> could not be indexed and added to the notmuch database. > > This means that if the index is locked when a message is > delivered it will not be tagged appropriately. The message will > still be written to disk. However if you rely on the tags to > find the message it effectively gets lost. > > notmuch-insert(1) should fail if it isn't able to successfully > perform all of the following three tasks: > > - write the message to disk > - index the message > - tag the message > > It should return with a non-0 exit status and let its caller -- > the MDA or another notmuch client -- handle the failure, since > notmuch-insert(1) cannot make any guarantees by itself anyway. > This would usually make an MDA retry delivering the message at a > later time. I think this is a good reason not to remove notmuch-deliver until there is at least an option to insert to fail in this case. A step in this direction was made in id:1374365254-13227-1-git-send-email-novalazy@gmail.com but this is not a complete solution and is not in mainline anyway. Best wishes Mark > > Regards, > Sebastian > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch