Re: [PATCH] How to improve the mail handling workflow?
[notmuch-archives.git] / c5 / ac442d83b73e74d5aa810075c1aeb91f9fe692
1 Return-Path: <cworth@cworth.org>\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 66A9C431FBF;\r
6         Sun, 22 Nov 2009 20:30:38 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 8IXL5uaiBCst; Sun, 22 Nov 2009 20:30:37 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id 70FB9431FAE;\r
13         Sun, 22 Nov 2009 20:30:37 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Tassilo Horn <tassilo@member.fsf.org>, notmuch@notmuchmail.org\r
16 In-Reply-To: <877hti71f4.fsf@thinkpad.tsdh.de>\r
17 References: <877hti71f4.fsf@thinkpad.tsdh.de>\r
18 Date: Mon, 23 Nov 2009 05:30:23 +0100\r
19 Message-ID: <87my2dg8ww.fsf@yoom.home.cworth.org>\r
20 MIME-Version: 1.0\r
21 Content-Type: text/plain; charset=us-ascii\r
22 Subject: Re: [notmuch] How to index /var/spool/mail with notmuch\r
23 X-BeenThere: notmuch@notmuchmail.org\r
24 X-Mailman-Version: 2.1.12\r
25 Precedence: list\r
26 List-Id: "Use and development of the notmuch mail system."\r
27         <notmuch.notmuchmail.org>\r
28 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
29         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
30 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
31 List-Post: <mailto:notmuch@notmuchmail.org>\r
32 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
33 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
34         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
35 X-List-Received-Date: Mon, 23 Nov 2009 04:30:38 -0000\r
36 \r
37 On Sun, 22 Nov 2009 21:24:47 +0100, Tassilo Horn <tassilo@member.fsf.org> wrote:\r
38 > But I get some permission problems when trying to index /var/spool/mail.\r
39 > I was able to create a .notmuch/ directory in there with permissions set\r
40 > to 700 for my user.  All mail files are readable for my user.\r
41\r
42 > Unfortunately, there are some dovecot internal files, which should\r
43 > neither be indexed by notmuch, and which have 600 permissions for the\r
44 > mail user.  And that's where notmuch errors and stops indexing. :-(\r
45 \r
46 Hi Tassilo, welcome to notmuch!\r
47 \r
48 I'm glad you found a workaround for this problem, (thanks Jed!).\r
49 \r
50 But perhaps these errors should be made into warnings instead? Any\r
51 thoughts on that anyone?\r
52 \r
53 > All "real" mail files are named "u.<number>", so it would be cool if I\r
54 > could provide a pattern to notmuch matching all files I'd like to index.\r
55 > And maybe the other way round (a blacklist pattern) would be useful,\r
56 > too.\r
57 \r
58 I've been planning on having a blacklist pattern for a\r
59 while. Originally, the only difficulty in implementing it was that we\r
60 had nowhere to store configuration information. But we have a\r
61 configuration file now, so this would be a pretty easy thing to\r
62 implement.\r
63 \r
64 It's not as obvious that a whitelist pattern would be as widely useful,\r
65 but it would be possible too.\r
66 \r
67 -Carl\r