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 D26BB1FF16E for ; Tue, 29 Oct 2024 16:15:39 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id EA1CB8DCA; Tue, 29 Oct 2024 16:15:42 +0100 (CET) Mime-Version: 1.0 Date: Tue, 29 Oct 2024 16:15:08 +0100 Message-Id: From: "Hannes Laimer" To: "Proxmox Backup Server development discussion" X-Mailer: aerc 0.18.2-63-gf2d413e8dedd References: <20240904141155.350454-1-h.laimer@proxmox.com> <20240904141155.350454-9-h.laimer@proxmox.com> <1728909090.j7owilw8sc.astroid@yuna.none> In-Reply-To: <1728909090.j7owilw8sc.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.385 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_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_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_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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [datastore.rs, proxmox.com] Subject: Re: [pbs-devel] [PATCH proxmox-backup v12 08/26] api: removable datastore creation X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" T24gTW9uIE9jdCAxNCwgMjAyNCBhdCAzOjQyIFBNIENFU1QsIEZhYmlhbiBHcsO8bmJpY2hsZXIg d3JvdGU6Cj4gT24gU2VwdGVtYmVyIDQsIDIwMjQgNDoxMSBwbSwgSGFubmVzIExhaW1lciB3cm90 ZToKPiA+IFNpZ25lZC1vZmYtYnk6IEhhbm5lcyBMYWltZXIgPGgubGFpbWVyQHByb3htb3guY29t Pgo+ID4gLS0tCj4gPiAgc3JjL2FwaTIvY29uZmlnL2RhdGFzdG9yZS5ycyB8IDM3ICsrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrLS0tLQo+ID4gIDEgZmlsZSBjaGFuZ2VkLCAzMyBpbnNl cnRpb25zKCspLCA0IGRlbGV0aW9ucygtKQo+ID4gCj4gPiBkaWZmIC0tZ2l0IGEvc3JjL2FwaTIv Y29uZmlnL2RhdGFzdG9yZS5ycyBiL3NyYy9hcGkyL2NvbmZpZy9kYXRhc3RvcmUucnMKPiA+IGlu ZGV4IGNhNmVkZjA1Li5jMjRiNmU5ZCAxMDA2NDQKPiA+IC0tLSBhL3NyYy9hcGkyL2NvbmZpZy9k YXRhc3RvcmUucnMKPiA+ICsrKyBiL3NyYy9hcGkyL2NvbmZpZy9kYXRhc3RvcmUucnMKPiA+IEBA IC00LDcgKzQsNyBAQCB1c2UgOjpzZXJkZTo6e0Rlc2VyaWFsaXplLCBTZXJpYWxpemV9Owo+ID4g IHVzZSBhb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j4gcGJzLWRldmVsQGxpc3RzLnByb3htb3guY29tCj4gaHR0cHM6Ly9saXN0cy5wcm94 bW94LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vcGJzLWRldmVsCgoKCl9fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCnBicy1kZXZlbCBtYWlsaW5nIGxp c3QKcGJzLWRldmVsQGxpc3RzLnByb3htb3guY29tCmh0dHBzOi8vbGlzdHMucHJveG1veC5jb20v Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3Bicy1kZXZlbAo=