3 public-inbox-glossary - glossary for public-inbox
7 public-inbox combines several independently-developed protocols
8 and data formats with overlapping concepts. This document is
9 intended as a guide to identify and clarify overlapping concepts
12 This is mainly intended for hackers of public-inbox, but may be useful
13 for administrators of public-facing services and/or users building
20 =item IMAP UID, NNTP article number, on-disk Xapian docid
22 A sequentially-assigned positive integer. These integers are per-inbox,
23 or per-extindex. This is the C<num> column of the C<over> table in
28 A sequentially-assigned positive integer. These integers are
29 per-inbox or per-extindex. In the future, this may be prefixed
30 with C<T> for JMAP (RFC 8621) and RFC 8474. This may not be
31 strictly compliant with RFC 8621 since inboxes and extindices
32 are considered independent entities from each other.
34 This is the C<tid> column of the C<over> table in C<over.sqlite3>
38 For email, this is the git blob object ID (SHA-(1|256)) of an
39 RFC-(822|2822|5322) email message.
41 =item IMAP EMAILID, JMAP Email Id
43 To-be-decided. This will likely be the git blob ID prefixed with C<g>
44 rather than the numeric UID to accommodate the same blob showing
45 up in both an extindex and inbox (or multiple extindices).
49 The name of the NNTP newsgroup, see L<public-inbox-config(5)>.
51 =item IMAP (folder|mailbox) slice
53 A 50K slice of a newsgroup to accommodate the limitations of IMAP
54 clients with L<public-inbox-imapd(1)>. This is the C<newsgroup>
55 name with a C<.$INTEGER_SUFFIX>, e.g. a newsgroup named C<inbox.test>
56 would have its first slice named C<inbox.test.0>, and second slice
57 named C<inbox.test.1> and so forth.
59 If implemented, the RFC 8474 MAILBOXID of an IMAP slice will NOT have
60 the same Mailbox Id as the public-facing full JMAP mailbox.
62 =item inbox name, public JMAP mailbox name
64 The HTTP(S) name of the public-inbox
65 (C<publicinbox.E<lt>nameE<gt>.*>). JMAP will use this name
66 rather than the newsgroup name since public-facing JMAP will be
67 part of the PSGI code and not need a separate daemon like
68 L<public-inbox-nntpd(1)> or L<public-inbox-imapd(1)>
72 A git repository used for blob storage. See
73 L<public-inbox-v2-format(5)/GIT EPOCHS>.
75 =item keywords, (IMAP|Maildir) flags, mbox Status + X-Status
77 Private, per-message keywords or flags as described in RFC 8621
78 section 10.4. These are conveyed in the C<Status:> and
79 C<X-Status:> headers for L<mbox(5)>, as system IMAP FLAGS
80 (RFC 3501 section 2.3.2), or Maildir info flags.
82 L<public-inbox-watch(1)> ignores drafts and trashed (deleted)
83 messages. L<lei-import(1)> ignores trashed (deleted) messages,
84 but it imports drafts.
86 =item labels, private JMAP mailboxes
88 For L<lei(1)> users only. This will allow lei users to place
89 the same email into one or more virtual folders for
90 ease-of-filtering. This is NOT tied to public-inbox names, as
91 messages stored by lei may not be public.
93 These are similar in spirit to arbitrary freeform "tags"
94 in mail software such as L<notmuch(1)> and non-system IMAP FLAGS.
96 =item volatile metadata (VMD)
98 For L<lei(1)> users only, this refers to the combination of
99 keywords and labels which are subject to frequent change
100 independently of immutable message content.
102 =item IMAP INTERNALDATE, JMAP receivedAt, rt: search prefix
104 The first valid timestamp value of Received: headers (top first).
105 If no Received: header exists, the Date: header is used, and the
106 current time if neither header(s) exist. When mirroring via
107 git, this is the git commit time.
109 =item IMAP SENT*, JMAP sentAt, dt: and d: search prefixes
111 The first valid timestamp value of the Date: header(s).
112 If no Date: header exists, the time from the Received: header is
113 used, and then the current time if neither header exists.
114 When mirroring via git, this is the git author time.
120 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
122 License: AGPL-3.0+ L<http://www.gnu.org/licenses/agpl-3.0.txt>
126 L<public-inbox-v2-format(5)>, L<public-inbox-v1-format(5)>,
127 L<public-inbox-extindex-format(5)>, L<gitglossary(7)>