user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* Thoughts on search-based imap mailboxes
@ 2020-10-02 14:34 Konstantin Ryabitsev
  2020-10-02 20:08 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Konstantin Ryabitsev @ 2020-10-02 14:34 UTC (permalink / raw)
  To: meta


While discussing something else on the users list, the 
question of "virtual inbox folders" came up when talking about imap and 
public-inbox. Here's how I imagine it could work in a way that doesn't 
require any kind of real user management.

- any site visitor can create a saved search against any index, which 
  would be generated with a random name (e.g. guid4) and stored on the 
  server via a simple guid->(index, search terms) mapping
- if imap is enabled, any user can also create an imap "account" that 
  would also be a guid random string, perhaps with a random password as 
  well (or no password, since guid4 strings should suffice)
- users can freely associate saved searches with these accounts, perhaps 
  optionally allowing them to save them with aliases, such that the 
  record is:
  user_guid->(saved_search_guid, alias)
- when logging into imap with an actual random account name, the 
  associated inboxes would be displayed instead of the general listing
- accounts and saved searches that were not accessed within $DAYS would 
  be automatically purged

What are your thoughts about this scheme? I like it because it respects 
users' privacy, since we cannot map accounts to developers, and because 
it doesn't require any kind of central identity gatekeeping. Anyone 
setting up a public-inbox mirror can immediately start using this scheme 
without needing to set up any kind of identity management backends.


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

end of thread, other threads:[~2021-02-06  0:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 14:34 Thoughts on search-based imap mailboxes Konstantin Ryabitsev
2020-10-02 20:08 ` Eric Wong
2020-10-03 14:50   ` Konstantin Ryabitsev
2020-10-03 19:40     ` Eric Wong
2021-02-05 22:37     ` James Bottomley
2021-02-06  0:01       ` Eric Wong

Code repositories for project(s) associated with this public inbox

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).