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 7B052C650 for ; Fri, 7 Jul 2023 18:58:23 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5604D2BC81 for ; Fri, 7 Jul 2023 18:57:53 +0200 (CEST) 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 for ; Fri, 7 Jul 2023 18:57:52 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A92CB40CCB for ; Fri, 7 Jul 2023 18:57:52 +0200 (CEST) Date: Fri, 7 Jul 2023 18:57:51 +0200 From: Stoiko Ivanov To: Thomas Lamprecht Cc: pmg-devel@lists.proxmox.com Message-ID: <20230707185751.55d5e8e9@rosa.proxmox.com> In-Reply-To: <9a03919d-2084-18fb-8689-750c62c962ee@proxmox.com> References: <20230627090027.5384-1-s.ivanov@proxmox.com> <9a03919d-2084-18fb-8689-750c62c962ee@proxmox.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.094 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 T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [pmg-devel] applied: [PATCH pmg-api] report: adapt to changes in SpamAssassin dns api X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2023 16:58:23 -0000 On Tue, 27 Jun 2023 11:23:58 +0200 Thomas Lamprecht wrote: > Am 27/06/2023 um 11:00 schrieb Stoiko Ivanov: > > SpamAssassin 4.0 changed the way it does DNS-lookups a bit (switched > > to asynchronous lookups) - this broke pmg-system-report, since > > we use the SpamAssassin API to check that DNS-resolution works. > > The reason for this is that SA used to take only the first entry from > > /etc/resolv.conf - and SA being able to do correct resolution is > > critical for it to work. > > > > This patch fixes the incompatible use of the DNS-API, but does not > > change to the asynchronous model. > > > > Signed-off-by: Stoiko Ivanov > > --- > > tested on my pmg installation - a quick verification that it works > > indeed would be appreciated > > > > src/PMG/Report.pm | 1 + > > 1 file changed, 1 insertion(+) > > > > > > applied, with Friedrich's T-b, thanks! > > should this get also backported to stable-7 branch? as SA 4.0 is available > there too. Sorry for overlooking the question (and underlying issue) - yes it should. I pushed the changes to stable-7 - thanks!