1 Return-Path: <tom.prince@ualberta.net>
\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 olra.theworths.org (Postfix) with ESMTP id BAA3C429E21
\r
6 for <notmuch@notmuchmail.org>; Sun, 4 Dec 2011 08:46:45 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id ED3IQJpzqtq9 for <notmuch@notmuchmail.org>;
\r
16 Sun, 4 Dec 2011 08:46:41 -0800 (PST)
\r
17 Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53])
\r
18 by olra.theworths.org (Postfix) with ESMTP id C20FF429E25
\r
19 for <notmuch@notmuchmail.org>; Sun, 4 Dec 2011 08:46:41 -0800 (PST)
\r
20 Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253])
\r
21 by socrates.hocat.ca (Postfix) with SMTP id 7987D20DC;
\r
22 Sun, 4 Dec 2011 09:46:39 -0700 (MST)
\r
23 Received: (nullmailer pid 11468 invoked by uid 1000);
\r
24 Sun, 04 Dec 2011 16:46:38 -0000
\r
25 From: Tom Prince <tom.prince@ualberta.net>
\r
26 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
27 Subject: Re: [PATCH v2 2/2] cli: add support for pre and post notmuch new
\r
30 <6ccaa31da55b0dfc9e339780e43e24e1489235e8.1322953841.git.jani@nikula.org>
\r
32 <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org>
\r
33 <6688b09fffa2a66b496af78008102f88ab4e9450.1322953841.git.jani@nikula.org>
\r
34 <6ccaa31da55b0dfc9e339780e43e24e1489235e8.1322953841.git.jani@nikula.org>
\r
35 User-Agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.3.3
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Sun, 04 Dec 2011 11:46:38 -0500
\r
38 Message-ID: <877h2cgu8h.fsf@hermes.hocat.ca>
\r
40 Content-Type: text/plain; charset=us-ascii
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Sun, 04 Dec 2011 16:46:45 -0000
\r
55 On Sun, 4 Dec 2011 01:16:49 +0200, Jani Nikula <jani@nikula.org> wrote:
\r
56 > Run notmuch new pre and post hooks, named "pre-new" and "post-new", if
\r
57 > present in the notmuch hooks directory. The hooks will be run before and
\r
58 > after incorporating new messages to the database.
\r
60 > Typical use cases for pre-new and post-new hooks are fetching or delivering
\r
61 > new mail to the maildir, and custom tagging of the mail incorporated to the
\r
64 > Also add command line option --no-hooks to notmuch new to bypass the
\r
67 A useful extension would be providing the list of added message-ids to the
\r
68 post-new hook, one per line? Or maybe the script wants added, moved,
\r