]> Sergey Matveev's repositories - public-inbox.git/commit
imap: require ".$UID_MIN-$UID_END" suffix
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:04:40 +0000 (07:04 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commitcfae078171fc1453be0795e4ba5f0252627ebba3
tree743f0b1b5cf356bf018b5619619edd362dcdd0a8
parent48180dbb004b5f59b2e80613b6fa2e5e869316f1
imap: require ".$UID_MIN-$UID_END" suffix

Finish up the IMAP-only portion of iterative config reloading,
which allows us to create all sub-ranges of an inbox up front.
The InboxIdler still uses ->each_inbox which will struggle with
100K inboxes.

Having messages in the top-level newsgroup name of an inbox will
still waste bandwidth for clients which want to do full syncs
once there's a rollover to a new 50K range.  So instead, make
every inbox accessible exclusively via 50K slices in the form of
"$NEWSGROUP.$UID_MIN-$UID_END".

This introduces the DummyInbox, which makes $NEWSGROUP
and every parent component a selectable, empty inbox.
This aids navigation with mutt and possibly other MUAs.

Finally, the xt/perf-imap-list maintainer test is broken, now,
so remove it.  The grep perlfunc is already proven effective,
and we'll have separate tests for mocking out ~100k inboxes.
MANIFEST
lib/PublicInbox/Config.pm
lib/PublicInbox/DummyInbox.pm [new file with mode: 0644]
lib/PublicInbox/IMAP.pm
lib/PublicInbox/IMAPD.pm
t/imap.t
t/imapd.t
xt/imapd-mbsync-oimap.t
xt/imapd-validate.t
xt/perf-imap-list.t [deleted file]