1 Return-Path: <sagi@rtsn.nl>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 849AB6DE02DA
\r
6 for <notmuch@notmuchmail.org>; Sun, 24 Jan 2016 07:55:15 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.552 tagged_above=-999 required=5
\r
12 tests=[RP_MATCHES_RCVD=-0.55, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id y2NJmVcKTC9K for <notmuch@notmuchmail.org>;
\r
17 Sun, 24 Jan 2016 07:55:13 -0800 (PST)
\r
18 X-Greylist: delayed 427 seconds by postgrey-1.35 at arlo;
\r
19 Sun, 24 Jan 2016 07:55:13 PST
\r
20 Received: from kardo2.rtsn.nl (rtsn.nl [37.97.129.244])
\r
21 by arlo.cworth.org (Postfix) with ESMTPS id 179926DE0217
\r
22 for <notmuch@notmuchmail.org>; Sun, 24 Jan 2016 07:55:13 -0800 (PST)
\r
23 Received: by kardo2.rtsn.nl (Postfix, from userid 1000)
\r
24 id D3C691FF55F; Sun, 24 Jan 2016 16:48:00 +0100 (CET)
\r
25 Content-Type: text/plain; charset="utf-8"
\r
27 Content-Transfer-Encoding: quoted-printable
\r
28 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
29 Message-ID: <20160124154800.19103.24730@kardo2.rtsn.nl>
\r
30 From: Maarten Aertsen <sagi-notmuch@rtsn.nl>
\r
31 User-Agent: alot/0.3.6
\r
32 Subject: notmuch insert --keep fails in parallel w/ notmuch new
\r
33 Date: Sun, 24 Jan 2016 16:48:00 +0100
\r
34 X-BeenThere: notmuch@notmuchmail.org
\r
35 X-Mailman-Version: 2.1.20
\r
37 List-Id: "Use and development of the notmuch mail system."
\r
38 <notmuch.notmuchmail.org>
\r
39 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
42 List-Post: <mailto:notmuch@notmuchmail.org>
\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
44 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
46 X-List-Received-Date: Sun, 24 Jan 2016 15:55:15 -0000
\r
50 I'd like to report a bug against notmuch 0.21, packaged for Debian =
\r
52 jessie-backports as 0.21-3~bpo8+1.
\r
54 # Steps to reproduce:
\r
55 1. start a notmuch new mail w/ lots of stuff to process (e.g. a =
\r
58 2. try notmuch insert --keep
\r
61 Given the current text in the manpage, I'd expect notmuch insert --keep =
\r
63 to save the message to the Maildir even if no db interaction is possible:
\r
65 "--keep Keep the message file if indexing fails, and keep the message =
\r
67 indexed if applying tags or maildir flag synchronization fails. =
\r
69 Ignore these errors and return exit status 0 to indicate =
\r
71 succesful mail delivery."
\r
73 That way, I can cron notmuch new to pick up the occasional message that =
\r
75 can't get indexed right away.
\r
78 notmuch insert --keep fails with exit code 1 due to the inability to get =
\r
83 I've switched to a setup with postfix, where notmuch insert --keep is =
\r
85 called by /local/, postfix's local delivery daemon, via a pipe in =
\r
87 .forward. Local treats a non-zero exit code as a 5.3.x status code and =
\r
89 sends a bounce to the sender.
\r
91 I had a short chat with j4ni on #notmuch, where he said:
\r
92 < j4ni> Sagi: oh bummer, we try to open the db first, and bail out =
\r
94 early. we should change the order of that (at least with --keep).
\r
96 Thanks for developing notmuch.
\r
98 best regards, Maarten Aertsen
\r