[pmg-devel] [PATCH pmg-api 0/7] adapt to SpamAssassin 4.0.0

Stoiko Ivanov s.ivanov at proxmox.com
Mon Mar 13 22:23:43 CET 2023


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(+)

-- 
2.30.2





More information about the pmg-devel mailing list