"notmuch new" does not remove my file from db (double slash problem ?)

François francois at avalenn.eu
Fri Feb 10 00:47:13 PST 2017


I had this same problem today and I think mutt whith notmuch patchs
(mutt-kz that I used at the time or neomutt from Debian which I use
now) generate those double slash when using the "copy" function from
mutt.

I had to recreate DB from dumps.


On Tue, Apr 14, 2015 at 12:57:20PM +0200, francois at avalenn.eu wrote:
> 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 at 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 at 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 at 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.


More information about the notmuch mailing list