From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id D8EDC8DF34; Thu, 10 Nov 2022 11:58:55 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B9D2E25842; Thu, 10 Nov 2022 11:58:55 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS; Thu, 10 Nov 2022 11:58:55 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id D0814429C4; Thu, 10 Nov 2022 11:58:54 +0100 (CET) Date: Thu, 10 Nov 2022 11:58:53 +0100 From: Wolfgang Bumiller To: Fiona Ebner Cc: pve-devel@lists.proxmox.com, pbs-devel@lists.proxmox.com Message-ID: <20221110105853.nf77vn6fm6ajvtwg@casey.proxmox.com> References: <20221021130252.176316-1-f.ebner@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221021130252.176316-1-f.ebner@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.237 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied-series: [PATCH-SERIES proxmox{, -mail-forward, -backup}/pve-manager] add proxmox-mail-forward helper binary X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2022 10:58:55 -0000 applied remaining patches On Fri, Oct 21, 2022 at 03:02:43PM +0200, Fiona Ebner wrote: > written in Rust, and replacing the pvemailforward binary in PVE. Can > be used in PVE and PBS as well as in a mixed installations of the two. > > To make reading the config files work, it is a setuid binary owned by > root, but it sets the effective UID to the real UID after reading the > configs, so parsing and sendmail invocation happen with lower > privileges again (well, except if the binary was called by root > directly). > > The .forward file is updated during postinst as currently done in > pve-manager. proxmox-mail-forward's postinst will not do anything > when detecting a pvemailforward entry. Instead pve-manager is > responsible for the switchover in PVE. > > > proxmox-mail-forward needs a depenency bump for proxmox-section-config > for the functionality added by the first patch. > > proxmox-backup recommends proxmox-mail-forward (I felt a Recommends > is more fitting, but feel free to change it) and pve-manager depends > on proxmox-mail-forward are part of the series. > > > proxmox: > > Fiona Ebner (1): > section config: parse additional properties when schema allows it > > proxmox-section-config/src/lib.rs | 79 ++++++++++++++++++++++++++++++- > 1 file changed, 78 insertions(+), 1 deletion(-) > > > proxmox-mail-forward: > > Fiona Ebner (3): > initial commit > add Debian packaging > d/postinst: register binary in .forward > > > proxmox-backup: > > Fiona Ebner (1): > fix #4287: d/control: recommend proxmox-mail-forward > > debian/control | 1 + > 1 file changed, 1 insertion(+) > > > pve-manager: > > Fiona Ebner (4): > d/control: depend on proxmox-mail-forward > d/postinst: replace pvemailforward with proxmox-mail-forward > remove pvemailforward binary > d/control: drop ${shlibs:Depends} for pve-manager > > bin/Makefile | 11 +++------- > bin/pvemailforward.c | 17 --------------- > bin/pvemailforward.pl | 45 ---------------------------------------- > debian/control | 2 +- > debian/lintian-overrides | 4 ---- > debian/postinst | 10 +++++++-- > debian/rules | 2 +- > 7 files changed, 13 insertions(+), 78 deletions(-) > delete mode 100644 bin/pvemailforward.c > delete mode 100755 bin/pvemailforward.pl > > -- > 2.30.2