Package: spamassassin Version: 3.4.6-1 Severity: normal
Hello, i think this is not a bug and spamassassin is simply not using the rules. First i have added my own rules to /etc/spamassassin/local.cf without success. Because this has no effect i put the files in an extra file /etc/spamassassin/myrules.cf This is ignored too. The aim is to recognize additional german words that are not catched with the standard rules. Special all this sexual content is really annoying. The rule is header CONTAINS_SUB Subject =~ /(Sex|Potenz|Dating|Finanz|FFP-2|M[aä]dchen|Bett|ficken)/i score CONTAINS_SUB 5 describe CONTAINS_SUB Betreff enthält Spam-Wörter I could check that the file myrules.cf has been parsed with a manual start of spamassassin, but the rules are not used. It seems that in reality a complete other configuration is used. Is it possible that only this directory is used: /var/lib/spamassassin/3.004006/updates_spamassassin_org/ But this will be overwritten in updates? Additional the package sa-compile is installed. How can i check wether the *.cf files are used or the compiled rules that seems to be in /var/lib/spamassassin/compiled/5.032/3.004006/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so How can i check which rules are compiled using re2c (https://re2c.org) ? Please help to understand where own rules must be placed so that they can work? Best regards karsten -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-11-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled