Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / e0 / 997c28769177e7cc669a37df8dd8032edae5f3
1 Return-Path: <tassilo@member.fsf.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 6B464431FBC\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 12:24:53 -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 0hO0KuczQ4cT for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 12:24:51 -0800 (PST)\r
12 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])\r
13         by olra.theworths.org (Postfix) with ESMTP id ED55B431FAE\r
14         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 12:24:50 -0800 (PST)\r
15 Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com\r
16         [66.111.4.28]) by mx.perfora.net (node=mxus1) with ESMTP (Nemesis)\r
17         id 0LbtPg-1NvIOM26VQ-00jIhD for notmuch@notmuchmail.org;\r
18         Sun, 22 Nov 2009 15:24:50 -0500\r
19 Received: from compute2.internal (compute2.internal [10.202.2.42])\r
20         by gateway1.messagingengine.com (Postfix) with ESMTP id E6237C18B9\r
21         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 15:24:49 -0500 (EST)\r
22 Received: from heartbeat2.messagingengine.com ([10.202.2.161])\r
23         by compute2.internal (MEProxy); Sun, 22 Nov 2009 15:24:49 -0500\r
24 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com;\r
25         h=from:to:subject:date:message-id:mime-version:content-type;    s=smtpout;\r
26  bh=tGbQhA5nIx44Z0q2ePYRbTtFR+c=;\r
27         b=PyZoU4wGTDtzu7LWIzFm0z6AQ63H1exf2Inaju60XcL0XjBj+hZeuUQdDxByMTto1mnBm+CH8fodIRNdHyxZZjPBfk6k8ZjlXeiJhkC14NmGJTZti0AsKID69/B85oKRD9mamRLh9rOClPgbYqyMojJy2hoOhy6zpHGRGkgYUw0=\r
28 X-Sasl-enc: zEM6NPG9lMjFBXSn41O4ZRwoqgUGGEyCSA3JPDmeArOi 1258921489\r
29 Received: from thinkpad.tsdh.de (p54AF3BEC.dip0.t-ipconnect.de\r
30  [84.175.59.236])       by mail.messagingengine.com (Postfix) with ESMTPA id\r
31  03E8AC26F      for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 15:24:48 -0500\r
32  (EST)\r
33 From: Tassilo Horn <tassilo@member.fsf.org>\r
34 To: notmuch@notmuchmail.org\r
35 Date: Sun, 22 Nov 2009 21:24:47 +0100\r
36 Message-ID: <877hti71f4.fsf@thinkpad.tsdh.de>\r
37 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 Subject: [notmuch] How to index /var/spool/mail with notmuch\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.12\r
43 Precedence: list\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, 22 Nov 2009 20:24:53 -0000\r
54 \r
55 Hi all,\r
56 \r
57 I'd like to try out notmuch.  My mail setup is as follows:\r
58 \r
59   - I run a local IMAP server (dovecot) and access it using Gnus\r
60   - Dovecot stores its mails in /var/spool/mail/ in some one file per\r
61     message format\r
62 \r
63 But I get some permission problems when trying to index /var/spool/mail.\r
64 I was able to create a .notmuch/ directory in there with permissions set\r
65 to 700 for my user.  All mail files are readable for my user.\r
66 \r
67 Unfortunately, there are some dovecot internal files, which should\r
68 neither be indexed by notmuch, and which have 600 permissions for the\r
69 mail user.  And that's where notmuch errors and stops indexing. :-(\r
70 \r
71 All "real" mail files are named "u.<number>", so it would be cool if I\r
72 could provide a pattern to notmuch matching all files I'd like to index.\r
73 And maybe the other way round (a blacklist pattern) would be useful,\r
74 too.\r
75 \r
76 Any thoughts?  Maybe there's a better approach for what I'm trying to\r
77 do?\r
78 \r
79 Bye,\r
80 Tassilo\r