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 6B464431FBC for ; Sun, 22 Nov 2009 12:24:53 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 0hO0KuczQ4cT for ; Sun, 22 Nov 2009 12:24:51 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by olra.theworths.org (Postfix) with ESMTP id ED55B431FAE for ; Sun, 22 Nov 2009 12:24:50 -0800 (PST) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx.perfora.net (node=mxus1) with ESMTP (Nemesis) id 0LbtPg-1NvIOM26VQ-00jIhD for notmuch@notmuchmail.org; Sun, 22 Nov 2009 15:24:50 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id E6237C18B9 for ; Sun, 22 Nov 2009 15:24:49 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sun, 22 Nov 2009 15:24:49 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:message-id:mime-version:content-type; s=smtpout; bh=tGbQhA5nIx44Z0q2ePYRbTtFR+c=; b=PyZoU4wGTDtzu7LWIzFm0z6AQ63H1exf2Inaju60XcL0XjBj+hZeuUQdDxByMTto1mnBm+CH8fodIRNdHyxZZjPBfk6k8ZjlXeiJhkC14NmGJTZti0AsKID69/B85oKRD9mamRLh9rOClPgbYqyMojJy2hoOhy6zpHGRGkgYUw0= X-Sasl-enc: zEM6NPG9lMjFBXSn41O4ZRwoqgUGGEyCSA3JPDmeArOi 1258921489 Received: from thinkpad.tsdh.de (p54AF3BEC.dip0.t-ipconnect.de [84.175.59.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 03E8AC26F for ; Sun, 22 Nov 2009 15:24:48 -0500 (EST) From: Tassilo Horn To: notmuch@notmuchmail.org Date: Sun, 22 Nov 2009 21:24:47 +0100 Message-ID: <877hti71f4.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [notmuch] How to index /var/spool/mail with notmuch X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sun, 22 Nov 2009 20:24:53 -0000 Hi all, I'd like to try out notmuch. My mail setup is as follows: - I run a local IMAP server (dovecot) and access it using Gnus - Dovecot stores its mails in /var/spool/mail/ in some one file per message format But I get some permission problems when trying to index /var/spool/mail. I was able to create a .notmuch/ directory in there with permissions set to 700 for my user. All mail files are readable for my user. Unfortunately, there are some dovecot internal files, which should neither be indexed by notmuch, and which have 600 permissions for the mail user. And that's where notmuch errors and stops indexing. :-( All "real" mail files are named "u.", so it would be cool if I could provide a pattern to notmuch matching all files I'd like to index. And maybe the other way round (a blacklist pattern) would be useful, too. Any thoughts? Maybe there's a better approach for what I'm trying to do? Bye, Tassilo