From 98653e699719a477687eb79ef4f19d4b52ef650b Mon Sep 17 00:00:00 2001 From: francois Date: Tue, 14 Apr 2015 12:57:20 +0200 Subject: [PATCH] "notmuch new" does not remove my file from db (double slash problem ?) --- da/eaf57d89735bb437fd7a79286dba08256682aa | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 da/eaf57d89735bb437fd7a79286dba08256682aa diff --git a/da/eaf57d89735bb437fd7a79286dba08256682aa b/da/eaf57d89735bb437fd7a79286dba08256682aa new file mode 100644 index 000000000..5a9f28673 --- /dev/null +++ b/da/eaf57d89735bb437fd7a79286dba08256682aa @@ -0,0 +1,116 @@ +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 174216DE025E + for ; Tue, 14 Apr 2015 04:18:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.874 +X-Spam-Level: +X-Spam-Status: No, score=0.874 tagged_above=-999 required=5 tests=[AWL=1.574, + RCVD_IN_DNSWL_LOW=-0.7] 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 lMck66pRT5rU for ; + Tue, 14 Apr 2015 04:17:57 -0700 (PDT) +X-Greylist: delayed 993 seconds by postgrey-1.35 at arlo; + Tue, 14 Apr 2015 04:17:57 PDT +Received: from slow1-d.mail.gandi.net (slow1-d.mail.gandi.net [217.70.178.86]) + by arlo.cworth.org (Postfix) with ESMTP id 03BD26DE0243 + for ; Tue, 14 Apr 2015 04:17:56 -0700 (PDT) +Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net + [217.70.183.197]) + by slow1-d.mail.gandi.net (Postfix) with ESMTP id 711A347EB99 + for ; Tue, 14 Apr 2015 13:01:21 +0200 (CEST) +Received: from mfilter41-d.gandi.net (mfilter41-d.gandi.net [217.70.178.173]) + by relay5-d.mail.gandi.net (Postfix) with ESMTP id 0A0AC41C08A + for ; Tue, 14 Apr 2015 13:01:17 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at mfilter41-d.gandi.net +Received: from relay5-d.mail.gandi.net ([217.70.183.197]) + by mfilter41-d.gandi.net (mfilter41-d.gandi.net [10.0.15.180]) (amavisd-new, + port 10024) with ESMTP id VDsjnRSZmSpa for ; + Tue, 14 Apr 2015 13:01:13 +0200 (CEST) +X-Originating-IP: 62.159.77.186 +Received: from localhost (unknown [62.159.77.186]) + (Authenticated sender: francois@avalenn.eu) + by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 695B741C08F + for ; Tue, 14 Apr 2015 13:01:13 +0200 (CEST) +Date: Tue, 14 Apr 2015 12:57:20 +0200 +From: francois@avalenn.eu +To: notmuch@notmuchmail.org +Subject: "notmuch new" does not remove my file from db (double slash problem + ?) +Message-ID: <20150414105720.GH3224@fjo-extia-HPdeb.nsn-net.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) +X-Mailman-Approved-At: Tue, 14 Apr 2015 06:04:52 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Tue, 14 Apr 2015 11:18:00 -0000 + +Hello list, + +I have a little problem here. +I have a message of which I had multiple copies and I deleted one of +them but "notmuch new" does not suppress this copy. + + $ notmuch search --output=files id:20150216180408.HA14616@myhost + /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S + /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S + /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S + +The last copy is the one I deleted. +I tried to readd the message to this box and after I have this status : + + $ cp ~/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S ~/Maildir/my_third_box/cur + $ notmuch new + Processed 1 file in almost no time. + No new mail. + $ notmuch search --output=files id:20150216180408.HA14616@myhost + /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S + /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S + /home/francois/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S + /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S + +And if I redelete it I come back to beginning : + + $ rm ~/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S + $ notmuch new + No new mail. Detected 1 file rename. + $ notmuch search --output=files id:20150216180408.HA14616@myhost + /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S + /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S + /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S + + +I don't know how the file path with double slash was added in the +first place to the DB but I have a real problem with it. + +Anyone have any idea of how I can solve this ? + + $ notmuch --version + notmuch 0.18.2 + $ lsb_release -a + No LSB modules are available. + Distributor ID: Debian + Description: Debian GNU/Linux 8.0 (jessie) + Release: 8.0 + Codename: jessie + + + + +F. -- 2.26.2