Re: weird paths in notmuch database
authorDavid Bremner <david@tethera.net>
Fri, 6 Nov 2015 13:09:44 +0000 (07:09 +1800)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:00 +0000 (14:50 -0700)
5a/b923f37f3f8e3f91cba805708b9d4bca3318f7 [new file with mode: 0644]

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