* updating database to remove references to deleted Maildir messages
@ 2014-12-04 21:38 Danny O'Brien
2014-12-04 21:59 ` Daniel Kahn Gillmor
0 siblings, 1 reply; 2+ messages in thread
From: Danny O'Brien @ 2014-12-04 21:38 UTC (permalink / raw)
To: notmuch
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.
d.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: updating database to remove references to deleted Maildir messages
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
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Kahn Gillmor @ 2014-12-04 21:59 UTC (permalink / raw)
To: danny, notmuch
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-04 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).