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 A11D01FF16F for ; Fri, 15 Nov 2024 11:16:38 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 156F810763; Fri, 15 Nov 2024 11:16:41 +0100 (CET) Message-ID: <018271d8-7e99-4ec7-a0c9-140efd8c4c55@proxmox.com> Date: Fri, 15 Nov 2024 11:16:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Fiona Ebner , Proxmox VE development discussion , =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?= References: <20241104104221.228730-1-f.gruenbichler@proxmox.com> <20241104104221.228730-4-f.gruenbichler@proxmox.com> <41efc325-3174-4b26-9a23-9dca1df258e4@proxmox.com> <5940b821-b931-4b4a-8262-05c12f7c7cdc@proxmox.com> <787aaaa9-1f7a-49c8-925e-49308d24df0d@proxmox.com> <0a2c9e96-ca76-42e3-9165-4bb4e7871bf7@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <0a2c9e96-ca76-42e3-9165-4bb4e7871bf7@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.014 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.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. [qemu.pm] Subject: Re: [pve-devel] [PATCH v2 qemu-server 1/1] 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-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" T24gMTEvMTUvMjQgMTE6MDUsIEZpb25hIEVibmVyIHdyb3RlOgo+IE9uIDE1LjExLjI0IDEwOjU1 IEFNLCBEb21pbmlrIENzYXBhayB3cm90ZToKPj4gT24gMTEvMTUvMjQgMTA6NDksIEZpb25hIEVi bmVyIHdyb3RlOgo+Pj4gT24gMTUuMTEuMjQgMTA6NDIgQU0sIEZpb25hIEVibmVyIHdyb3RlOgo+ Pj4+IE9uIDA0LjExLjI0IDExOjQyIEFNLCBGYWJpYW4gR3LDvG5iaWNobGVyIHdyb3RlOgo+Pj4+ PiBjcmVhdGluZyBub24tcmF3IGRpc2sgaW1hZ2VzIHdpdGggYXJiaXRyYXJ5IGNvbnRlbnQgaXMg b25seSBwb3NzaWJsZQo+Pj4+PiB3aXRoIHJhdwo+Pj4+PiBhY2Nlc3MgdG8gdGhlIHN0b3JhZ2Us IGJ1dCBjaGVja2luZyBmb3IgcmVmZXJlbmNlcyB0byBleHRlcm5hbCBmaWxlcwo+Pj4+PiBkb2Vz bid0Cj4+Pj4+IGh1cnQuCj4+Pj4+Cj4+Pj4+IFNpZ25lZC1vZmYtYnk6IEZhYmlhbi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