unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* How does notmuch track mails?
@ 2016-08-09 14:02 Matthias Beyer
  2016-08-09 18:34 ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Beyer @ 2016-08-09 14:02 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

Hi,

(I'm not subscribed to your ML, so please keep me in CC when replying)

Disclaimer: I never used notmuch - so my questions might appear dumb.

So I'm developing this personal information management (PIM) suite[0]
and one aspect of PIM clearly is communication a la mail.

I wonder how notmuch tracks mails. Lets assume that we have a big
Maildir tree - mails move around all the time - how does notmuch
(re)find them? Is there a unique way to identify an email? As far as I
know isn't the message id one of them, right?

[0]: https://github.com/matthiasbeyer/imag

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How does notmuch track mails?
  2016-08-09 14:02 How does notmuch track mails? Matthias Beyer
@ 2016-08-09 18:34 ` Daniel Kahn Gillmor
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Kahn Gillmor @ 2016-08-09 18:34 UTC (permalink / raw)
  To: Matthias Beyer, notmuch

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

On Tue 2016-08-09 10:02:23 -0400, Matthias Beyer wrote:

> I wonder how notmuch tracks mails. Lets assume that we have a big
> Maildir tree - mails move around all the time - how does notmuch
> (re)find them? Is there a unique way to identify an email? As far as I
> know isn't the message id one of them, right?

notmuch uses message-id to identify individual mails.   this is a nice
simplification, but it leaves open some potentially problematic
situations that we have still never resolved (e.g. matching message-ids
on distinct mail, whether via malice or incompetence).

notmuch has maildir scanning code that is clever about tracking which
parts of various subtrees have changed recently and avoids having to
re-scan them if they haven't changed (this does require some cooperation
From the filesystem -- if you have an absolutely terrible filesystem, i
don't know how notmuch would handle the situation).

        --dkg


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 930 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-09 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 14:02 How does notmuch track mails? Matthias Beyer
2016-08-09 18:34 ` 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).