From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 4ED411FF165 for ; Thu, 3 Jul 2025 09:50:47 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B91C0CF66; Thu, 3 Jul 2025 09:51:26 +0200 (CEST) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, pmg-devel@lists.proxmox.com, Dominik Csapak Date: Thu, 3 Jul 2025 09:49:37 +0200 Message-ID: <175152897366.886589.10688130478475707980.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250625073844.609286-1-d.csapak@proxmox.com> References: <20250625073844.609286-1-d.csapak@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.034 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.237 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pmg-devel] applied: [PATCH proxmox] login: use 'PMG' as product for 'PMGQUAR' tickets X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" On Wed, 25 Jun 2025 09:38:44 +0200, Dominik Csapak wrote: > We derive the product name from the beginning of the ticket normally, > but this does not work with PMGQUAR tickets. Since the cookie name uses > the product name, this results in a `PMGQUARAuthCookie`, but the cookie > still has to be `PMGAuthCookie` to work. To work around that, decouple > the userid range of the ticket from the product range, and modify it so > that PMGQUAR tickets return also PMG for the product. This will result > in the correct `PMGAuthCookie` name. > > [...] The shared cookie name is IMO not so great here in the first place, but works OK-ish enough for all that are just spam quarantine users, and no PMG admins or the like too. Maybe we can look into a clean seperation here for the future, but nothing all to important for now. Applied, thanks! [1/1] login: use 'PMG' as product for 'PMGQUAR' tickets commit: 33f9c3a41ad95d2c885568a78b389579665fc959 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel