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) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 9F84F90ABA for ; Wed, 15 Mar 2023 16:55:41 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8115DC1D7 for ; Wed, 15 Mar 2023 16:55:11 +0100 (CET) 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) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 15 Mar 2023 16:55:10 +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 D0E2941953 for ; Wed, 15 Mar 2023 16:55:09 +0100 (CET) Message-ID: Date: Wed, 15 Mar 2023 16:55:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Thunderbird/111.0 Content-Language: en-GB, de-AT To: Stoiko Ivanov , pmg-devel@lists.proxmox.com References: <20230313212351.111977-1-s.ivanov@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20230313212351.111977-1-s.ivanov@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.299 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years 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. [spam.pm, pre.in, config.pm] Subject: [pmg-devel] applied: [PATCH pmg-api 0/7] adapt to SpamAssassin 4.0.0 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: Wed, 15 Mar 2023 15:55:41 -0000 Am 13/03/2023 um 22:23 schrieb Stoiko Ivanov: > SpamAssassin 4.0.0 was released back in December 2022 and seems to work > nicely for the greatest part. > > This patchset adapts pmg-api where necessary (patch 1/7), updates the > templates for less diff (2/7), and enables the new features depending > on the spam section of pmg.conf (mostly only enabling modules which do > DNSBL lookups based on the rbl_checks setting) > > for testing the ExtractText plugin I used the gtube test string in > a libreoffice document (saving it as .doc, .docx, .pdf, .odt, .rtf) > as it's still quite new functionality I added an explicit config-option > for it (also to provide some visibility) > > pmg-api: > Stoiko Ivanov (7): > ruledb: spam: adapt to spamassassin 4.0.0 > templates: sync spamassassin templates with 4.0.0 upstream > templates: add template for spamassassin's v342.pre > templates: add template for spamassassin's v400.pre > config: add spam option for extract_text > templates: enable DecodeShortUrls for SpamAssassin 4.0.0 > templates: enable DMARC plugin in v400.pre.in > > debian/control | 9 +++++- > src/Makefile | 2 ++ > src/PMG/Config.pm | 12 +++++++ > src/PMG/RuleDB/Spam.pm | 10 +++--- > src/templates/init.pre.in | 26 ++++++++++++--- > src/templates/v310.pre.in | 18 +++++------ > src/templates/v320.pre.in | 5 +++ > src/templates/v342.pre.in | 39 ++++++++++++++++++++++ > src/templates/v400.pre.in | 68 +++++++++++++++++++++++++++++++++++++++ > 9 files changed, 170 insertions(+), 19 deletions(-) > create mode 100644 src/templates/v342.pre.in > create mode 100644 src/templates/v400.pre.in > > pmg-gui: > Stoiko Ivanov (1): > spamdetector: add extract_text option > > js/SpamDetectorOptions.js | 2 ++ > 1 file changed, 2 insertions(+) > applied series, dependency/breaks commits not yet pushed, thanks!