The Sunday 2005-05-08 at 09:53 +0200, Jure Koren wrote:
From man Mail::SpamAssassin::Conf Setting a rule's score to 0 will disable that rule from running.
I hope that works for you: set "score ALL_TRUSTED 0 0 0 0" into the local.cf,
I have this there: #score ALL_TRUSTED -2.400 -2.820 -2.867 -3.300 score ALL_TRUSTED -0.600 -0.705 -0.717 -0.825 It is not used, I get the old score.
and if it doesn't work try the 50_score.cf, too.
I have had this there for days: #score ALL_TRUSTED -2.400 -2.820 -2.867 -3.300 #score ALL_TRUSTED -0.600 -0.705 -0.717 -0.825 score ALL_TRUSTED 0 It doesn't work either.
If that doesn't work, something is definitely broken,
That's what I've been saying all along :-}
because this works for me (I use amavis, so I need to modify either "amavis" user's local.cf, or the global 50_score.cf).
How do I make that spam marked as BAYES_99 does get flagged as SPAM: yes? Configuration changes in scoring are not read at all... not even after a reboot. :-/
Reboot won't help here. Restart spamd or amavis (whichever you're using) and the changes should be visible. If they are not, you're doing something wrong.
I did, nothing happened. As I power off everyday, I mentioned that reboot didn't help - just in case. [...] At last! I got it working; it took some convincing. It seems that changes in /etc/mail/spamassassin/local.cf takes precedence, so whatever I did to 50_score.cf was ignored. But I still don't see why my initial changes to local.cf did not work. Whatever, it works today :-) Ummm! I still have to figure out why scores of bayes_99 do not trigger an email being spam. Either I modify my rules in procmail, or I modify the scoring of Bayesian tests. You see, even without the ALL_TRUSTED thing, it still is not flagged as spam: X-Spam-Status: No, score=4.9 required=5.0 tests=AWL,BAYES_99,HTML_20_30, HTML_IMAGE_ONLY_24,HTML_MESSAGE autolearn=no version=3.0.2 Perhaps increasing the score of HTML_IMAGE_ONLY_24 :-? -- Cheers, Carlos Robinson