Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 48CD46DE1737 for ; Fri, 6 Nov 2015 05:11:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.096 X-Spam-Level: X-Spam-Status: No, score=0.096 tagged_above=-999 required=5 tests=[AWL=0.096] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8OWy4NrC-91E for ; Fri, 6 Nov 2015 05:10:59 -0800 (PST) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 3C0FB6DE0C42 for ; Fri, 6 Nov 2015 05:10:59 -0800 (PST) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZugmR-0001lH-7t; Fri, 06 Nov 2015 13:10:11 +0000 Received: (nullmailer pid 27137 invoked by uid 1000); Fri, 06 Nov 2015 13:09:44 -0000 From: David Bremner To: Davide Mancusi , notmuch@notmuchmail.org Subject: Re: weird paths in notmuch database In-Reply-To: References: User-Agent: Notmuch/0.21+5~gca076ce (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 06 Nov 2015 07:09:44 -0600 Message-ID: <87a8qrmfzb.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Fri, 06 Nov 2015 13:11:01 -0000 Davide Mancusi writes: > Hi all, > > I have noticed that notmuch ends up with non-existing paths to some > messages. For instance: > > $ notmuch search --output=files 'path:/home/**' > /export/home/username/mail//home/username/local/mail/archive/cur/1446805732.2711_9.hostname:2,S > /export/home/username/mail/archive/cur/1446805732.2711_9.hostname:2,S > [...] # more follow > I'm not sure if there are really bad paths in the database, or notmuch is just handling illegal search syntax badly. To quote notmuch-search-terms(7): The directory must be specified relative to the top-level maildir (and without the leading slash). Please try with correct search syntax in order to narrow down the problem.