On 01/18/2018 04:00 PM, Chip wrote:
Find this tidbit of information how to find the rules that are loaded
with spam assassin:
spamassassin --lint -D 2>&1 | grep 'config: read file'
I see many, many lines of files.
I don't see myself going into all those files and replacing a score of
whatever with a 999 or 0.
There must be a simpler solution to turning off rules than individually
editing each ruleset.
You can easily grep and sed the output of the lint command above to
generate "score RULE 0.0" and append it to the local.cf. But I am
pretty sure this is not want you are wanting to do as it wouldn't be
very useful.
And in the local.cf there are NO rules.
So I'm back to zero here.
What specifically are you trying to do? You may want to leave all rules
active and simply add some new custom rules to local.cf for your custom
needs.
If you don't want to block anything and just want to collect as much
spam and ham as possible, then set the "required_score 999" in your
local.cf.
--
David Jones