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 8893B689CB for ; Fri, 15 Jan 2021 09:22:14 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 76D1D22409 for ; Fri, 15 Jan 2021 09:21:44 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 id 110EE223FE for ; Fri, 15 Jan 2021 09:21:44 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C809A447F7 for ; Fri, 15 Jan 2021 09:21:43 +0100 (CET) To: Stoiko Ivanov , pmg-devel@lists.proxmox.com References: <20201230171539.7644-1-s.ivanov@proxmox.com> <20201230171539.7644-2-s.ivanov@proxmox.com> From: Thomas Lamprecht Message-ID: <2f6f94c5-c7bc-85b4-05bc-f9b0dd51a680@proxmox.com> Date: Fri, 15 Jan 2021 09:21:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: <20201230171539.7644-2-s.ivanov@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.051 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.237 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pmg-devel] [PATCH pmg-api v2 1/4] add helper for parsing SA channel.d files 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, 15 Jan 2021 08:22:14 -0000 On 30.12.20 18:15, Stoiko Ivanov wrote: > RHEL/CentOS based SpamAssassin implementations ship an update script, > which reads shell snippets from > /etc/mail/spamassassin/channel.d/*.conf and uses the information there > to update SA rules from the configured channels [0]. >=20 > Noticed the existence of this directory/mechanism while reading the > announcement of the updatechannel for the KAM ruleset [1]. >=20 > Parsing the file as text, instead of sourcing it in a shell, since I > hope that the channel files distributed don't rely on running commands > to get the ruleset url and gpg key. I'd like to have a, at least minimal, test for new parsers. Ideally a OK = one and problematic one per success or error condition, respectively.