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 212D31FF15F for ; Mon, 18 Nov 2024 14:07:59 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6B46110331; Mon, 18 Nov 2024 14:08:04 +0100 (CET) Message-ID: <548a2f96-a349-460c-8f81-5ed13b48e785@proxmox.com> Date: Mon, 18 Nov 2024 14:08:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Proxmox VE development discussion , Dominik Csapak References: <20241115151749.633407-1-d.csapak@proxmox.com> <20241115151749.633407-14-d.csapak@proxmox.com> Content-Language: en-US From: Fiona Ebner In-Reply-To: <20241115151749.633407-14-d.csapak@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.054 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH qemu-server v6 1/6] disk import: add additional safeguards for imported image files 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" QW0gMTUuMTEuMjQgdW0gMTY6MTcgc2NocmllYiBEb21pbmlrIENzYXBhazoKPiBGcm9tOiBGYWJp YW4gR3LDvG5iaWNobGVyIDxmLmdydWVuYmljaGxlckBwcm94bW94LmNvbT4KPiAKPiBjcmVhd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