Mike Grau wrote:
Since upgrading to SpamAssassin 3.1.6, running sa-update yields

# sa-update
config: warning: score set for non-existent rule BAYES_50
config: warning: score set for non-existent rule BAYES_05
...
error: lint check of current site config failed, cannot continue.


I assume this is because sa-update now "include local site config in
sa-update lint checks".

Previously I've set some custom scores for stock rules in
/etc/mail/spamassassin/whatever.cf
without changing the rule definitions or descriptions. Can I not do this
and need to define the "body BAYES_99" and "describe BAYES_99" in
wahtever.cf also, or is this a bug in sa-update?

Sigh. None of the machines I tested the change on redefined any scores. I forgot that this actually causes an error and not info, so I didn't even think of trying it.

For now you'll have to disable the score lines while you do sa-update. Temporarily renaming whatever.cf to whatever.cf-disabled is probably the easiest way to go about it.


Daryl

Reply via email to