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 79FA36DE1502 for ; Fri, 6 Nov 2015 07:14:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.737 X-Spam-Level: X-Spam-Status: No, score=0.737 tagged_above=-999 required=5 tests=[AWL=0.085, SPF_NEUTRAL=0.652] 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 xHEAGp92N986 for ; Fri, 6 Nov 2015 07:14:34 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 250B66DE13A3 for ; Fri, 6 Nov 2015 07:14:33 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 910DC10005A; Fri, 6 Nov 2015 17:14:31 +0200 (EET) From: Tomi Ollila To: Davide Mancusi , notmuch@notmuchmail.org Subject: Re: weird paths in notmuch database In-Reply-To: References: <87a8qrmfzb.fsf@maritornes.cs.unb.ca> User-Agent: Notmuch/0.21+14~g053baf4 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'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 15:14:36 -0000 On Fri, Nov 06 2015, Davide Mancusi wrote: > 2015-11-06 14:09 GMT+01:00 David Bremner : >>> $ 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 > [...] >> >> 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. > > The unusual search was just to illustrate the problem. I get the paths > even with tag searches, like so: > > $ notmuch search --output=files > 'id:20151106102835.GA2711@hostname.domain.com' > /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 How is the symlink exactly shown in ls -l /path/to/symlink output ? (you can do the s/$USER/username/ conversion :) Tomi