https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7961

--- Comment #5 from lsmod <fo...@home.decotrain.de> ---
Some own ideas to check:

https://spamassassin.apache.org/full/3.2.x/doc/sa-compile.html
No part of user_prefs or any files included from user_prefs can be built into
the compiled set.

This compiled set is then used by the Mail::SpamAssassin::Plugin::Rule2XSBody
plugin to speed up SpamAssassin's operation, where possible, and when that
plugin is loaded.

It is not clear how own rules can be added?

# spamassassin -D --lint 2>&1 | grep Rule2XSBody
Mar  6 11:50:48.214 [123607] dbg: plugin: loading
Mail::SpamAssassin::Plugin::Rule2XSBody from @INC
Mar  6 11:50:49.293 [123607] dbg: plugin:
Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x55fec3febe90) implements
'finish_parsing_end', priority 0
Mar  6 11:50:50.043 [123607] dbg: plugin:
Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x55fec3febe90) implements
'check_start', priority 0
Mar  6 11:50:50.055 [123607] dbg: plugin:
Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x55fec3febe90) implements
'check_rules_at_priority', priority 0
Mar  6 11:50:50.056 [123607] dbg: plugin:
Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x55fec3febe90) implements
'run_body_fast_scan', priority 0

Mar  6 11:56:36.505 [124505] dbg: zoom: loading compiled ruleset from
/var/lib/spamassassin/compiled/5.032/3.004006
Mar  6 11:56:36.507 [124505] dbg: zoom: using compiled ruleset in
/var/lib/spamassassin/compiled/5.032/3.004006/Mail/SpamAssassin/CompiledRegexps/body_0.pm
for Mail::SpamAssassin::CompiledRegexps::body_0
Mar  6 11:56:36.514 [124505] dbg: zoom: able to use 397/397 'body_0' compiled
rules (100%)


The compiled rules are used - so the rules loaded from the *.cf files are
ignored?

What is the way to add own rules to the compilation of the rules?
How can be sa-compile deactivated for test purposes?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to