From 6e3af9f950589fa0e070f7dca033a18a221c5a36 Mon Sep 17 00:00:00 2001 From: Davide Mancusi Date: Fri, 6 Nov 2015 11:57:03 +0100 Subject: [PATCH] weird paths in notmuch database --- 6c/c3d6390727f83afb16288257a14ae6dbc3e2a4 | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 6c/c3d6390727f83afb16288257a14ae6dbc3e2a4 diff --git a/6c/c3d6390727f83afb16288257a14ae6dbc3e2a4 b/6c/c3d6390727f83afb16288257a14ae6dbc3e2a4 new file mode 100644 index 000000000..8938420ac --- /dev/null +++ b/6c/c3d6390727f83afb16288257a14ae6dbc3e2a4 @@ -0,0 +1,84 @@ +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 9EFA96DE1737 + for ; Fri, 6 Nov 2015 02:57:08 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.501 +X-Spam-Level: +X-Spam-Status: No, score=0.501 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, + T_FREEMAIL_FORGED_FROMDOMAIN=0.01, + T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] 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 yjdbeXSsVNfr for ; + Fri, 6 Nov 2015 02:57:06 -0800 (PST) +Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com + [209.85.212.170]) + by arlo.cworth.org (Postfix) with ESMTPS id 38C216DE13A3 + for ; Fri, 6 Nov 2015 02:57:06 -0800 (PST) +Received: by wijp11 with SMTP id p11so27694177wij.0 + for ; Fri, 06 Nov 2015 02:57:04 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:sender:date:message-id:subject:from:to:content-type; + bh=6lczZZ8NKxGCXHTyXJDHvYGEO9fUNPJoVzDiWHWeNMo=; + b=MGkG/jmmMmeRQcvF+E3WumvE2TsxHAGhWvZ9fOFPh1VGBYURiwWOTylf2DAk6dqRsk + /hHnOpGH2Cps/HjG6jjtcWZ29yr7mBpLgJrCEeFsV/fLoa2ftl2hjoysjjo0mCr6OyO+ + N/qOMwyVIgGm0ivYwoe4OcDkvBOD1QnWF3gM3eIMyqRa2yBv5359tQjDcLDsBZDN/GhU + eMYVoOeP5+4wjqgjBxFQQVpTOkW+rtcBezKNAzTCixtS5j+OE5KGv3O8PSttDhzzz6Qb + 7sNweaHVNZiwgeS0vKMmFPSGqmlfJH0KtpkJnekZK46XWr6T6D6YtoASVoovYpzonubX + ERTQ== +MIME-Version: 1.0 +X-Received: by 10.194.105.38 with SMTP id gj6mr13351764wjb.130.1446807423830; + Fri, 06 Nov 2015 02:57:03 -0800 (PST) +Sender: arekfu@gmail.com +Received: by 10.27.155.197 with HTTP; Fri, 6 Nov 2015 02:57:03 -0800 (PST) +Date: Fri, 6 Nov 2015 11:57:03 +0100 +X-Google-Sender-Auth: lK_3eg9TYC_vb1tPvyDXtis9A50 +Message-ID: + +Subject: weird paths in notmuch database +From: Davide Mancusi +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +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 10:57:08 -0000 + +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 + +Note that my mail folder is /export/home/username/mail. The first path +does not exist. However, I have a symlink from /home/username/local to +/export/home/username. Could that be the problem? + +Also, is there a way to get rid of these non-existent paths in the +database? They are fed to another program in a script and it chokes on +them. + +Thanks in advance for your help. + +Cheers, +Davide -- 2.26.2