user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: meta@public-inbox.org
Subject: Re: pop3: does uuid need to be unique for all mailboxes?
Date: Mon, 25 Sep 2023 21:02:21 +0000	[thread overview]
Message-ID: <20230925210221.M503628@dcvr> (raw)
In-Reply-To: <20230925-wagon-affidavit-2f2df1@meerkat>

Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
> Hopefully an easy question:
> 
> If I'm subscribing to two different mailboxes via pop3, does the uuid part
> need to be unique for each mailbox?

Nope, you can reuse UUID across different mailboxes.

> For example, will the following cause any
> problems because the uuid is the same?
> 
> - 2db99975-4977-4866-8819-d7fbbf0f9cb4@org.kernel.vger.netdev?initial_limit=10
> - 2db99975-4977-4866-8819-d7fbbf0f9cb4@org.kernel.vger.bpf?initial_limit=10

No problems, it's totally fine to recommend that since it saves
small amount of storage and will speed up expiry[1]

FWIW, the DB schema is in the create_state_tables() sub of
lib/PublicInbox/POP3D.pm and hopefully easily understandable
even to non-Perl hackers.


[1] of course, there's hardly any users, so I'm not sure it matters

      reply	other threads:[~2023-09-25 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25 20:02 pop3: does uuid need to be unique for all mailboxes? Konstantin Ryabitsev
2023-09-25 21:02 ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230925210221.M503628@dcvr \
    --to=e@80x24.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.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).