From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: danny@spesh.com, notmuch@notmuchmail.org
Subject: Re: updating database to remove references to deleted Maildir messages
Date: Thu, 04 Dec 2014 16:59:48 -0500 [thread overview]
Message-ID: <5480D954.6000803@fifthhorseman.net> (raw)
In-Reply-To: <20141204213854.GA15345@spesh.com>
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
On 12/04/2014 04:38 PM, Danny O'Brien wrote:
> I use notmuch with a set of Maildirs, synchronised with a remote IMAP
> instance using mbsync. One of the folders I sync with is a "missed spam"
> directory, which is used by the remote server to correct its own anti-spam
> system. The server deletes the missed spam messages after it has added
> them to its corpus of spam, which means that messages are regularly
> deleted from that folder.
>
> My impression is that notmuch is pretty smart about spotting messages
> that have disappeared, but when I do notmuch show etc these days it
> often comes up with a list of missing files, a la:
>
> Error opening /home/danny/mail/missedspam//cur/18403840321.foobar: No such file or directory
>
> Is there any way I can correct the database to remove these entries?
> Notmuch new doesn't seem to spot that they've vanished.
maybe mbsync is fiddling with the timestamps on the directories somehow?
have you tried:
touch /home/danny/mail/missedspam/cur
notmuch new
?
--dkg
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
prev parent reply other threads:[~2014-12-04 21:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 21:38 updating database to remove references to deleted Maildir messages Danny O'Brien
2014-12-04 21:59 ` Daniel Kahn Gillmor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5480D954.6000803@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=danny@spesh.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).