From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8EF0B1F55F; Mon, 25 Sep 2023 21:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1695675741; bh=YE9WgNO0M30L3xwoxJidBV1WEPSA5edzZvaR/BJAOWs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S8mi1Bf2eAzra8Pdm2L+T055sD/JE/+vMvFEkvTorkjGmukbjK09rEzkOnX5YOZkN qDNdjoEHCm8wcpytEd5HqLtFG1PqLUxAFeAq/otqTz6gNEmLXJFiSwd+eH2v2xVTzf ctBBbRXbiIL/dJRALjJKwGAgfMTwHC8E7BPfSMGk= Date: Mon, 25 Sep 2023 21:02:21 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: pop3: does uuid need to be unique for all mailboxes? Message-ID: <20230925210221.M503628@dcvr> References: <20230925-wagon-affidavit-2f2df1@meerkat> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230925-wagon-affidavit-2f2df1@meerkat> List-Id: Konstantin Ryabitsev 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