From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 191AB1FF173 for ; Mon, 25 Nov 2024 10:17:36 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6987BD932; Mon, 25 Nov 2024 10:17:47 +0100 (CET) Message-ID: <3308a39e-cfa2-46d5-82cb-b454d8301051@proxmox.com> Date: Mon, 25 Nov 2024 10:17:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Dominik Csapak , Proxmox Backup Server development discussion References: <20241122165406.676851-1-c.ebner@proxmox.com> <64fdcd0e-7608-4fe0-8c4d-4259a460c097@proxmox.com> Content-Language: en-US, de-DE From: Christian Ebner In-Reply-To: <64fdcd0e-7608-4fe0-8c4d-4259a460c097@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.029 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 Subject: Re: [pbs-devel] [PATCH proxmox-backup] ui: sync job: fix source group filters based on sync direction 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-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" T24gMTEvMjUvMjQgMTA6MDYsIERvbWluaWsgQ3NhcGFrIHdyb3RlOgo+IHR3byBpc3N1ZXMgaGVy ZToKPiAKPiBpZiBpIHVzZSB0aGUgYWRkIGJ1dHRvbiBvbiB0aGUgdG9wIGxldmVsICdEYXRhc3Rv cmUnIHN5bmMgcGFuZSwgdGhlcmUgaXMgCj4gbm8gaW5pdGlhbCBkYXRhc3RvcmUgc2VsZWN0ZWQs IGJ1dCB0aGUgZ3JvdXBzIGdldCBsb2FkZWQgd2l0aCAnL2FwaTIvIAo+IGpzb24vYWRtaW4vZGF0 YXN0b3JlLy9ncm91cHMnIHdoaWNoIHJldHVybnMKPiB0aGUgaW5kZXggZm9yIGEgZGF0YXN0b3Jl LiBUaGlzIHBvcHVsYXRlcyB0aGUgZ3JvdXAgZHJvcGRvd24gd2l0aCAKPiByZWNvcmRzIHRoYXQg ZG9uJ3QgY29udGFpbgo+IHRoZSByZWxldmFudCBpbmZvcywgYW5kIHdpbGwgZGlzcGxheWVkIGFz IGVtcHR5IGxpbmVzLgo+IAo+IGltaG8gd2Ugc2hvdWxkIG9ubHkgdHJpZ2dlciB0aGUgaW5pdGlh bCBsb2FkIG9ubHkgd2hlbiB0aGUgZGF0YXN0b3JlIGlzIHNldAoKQWggeWVzLCB0aGFua3MgZm9y IG5vdGljaW5nISBJIGRpZCBvdmVybG9vayB0aGF0IHdheSBvZiBzZXR0aW5nIHRoZSBzeW5jIApq b2Igb24gZnJpZGF5LgoKPiAKPiBhbHNvIGV2ZW4gaWYgaSBzZWxlY3QgYSBkYXRhc3RvcmUgaGVy ZSwgdGhlIGdyb3VwcyB3b24ndCBnZXQ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