Koozali.org: home of the SME Server

Permanently disabling a SpamAssassin rule?

Offline morpheusx

  • **
  • 35
  • +0/-0
Permanently disabling a SpamAssassin rule?
« on: October 30, 2006, 09:09:14 PM »
I've grown frustrated with a set of SA rules that consistently misflag email as spam. If you Google on these keywords, a lot of others have seen these misfire as well.

The two worst offenders on my sites are:

RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME

Since there is no easy way for users to whitelist emails in SME, is there a way for me to permanently nuke the rules from SA?

Thanks

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Permanently disabling a SpamAssassin rule?
« Reply #1 on: November 11, 2006, 10:45:04 PM »
mkdir -p /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
cd /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
pico -w 90CustomScores
Code: [Select]
## Optional Score Increases
score RATWARE_MS_HASH 0.000
score RATWARE_OUTLOOK_NONAME 0.000
signal-event email-update

Offline morpheusx

  • **
  • 35
  • +0/-0
Permanently disabling a SpamAssassin rule?
« Reply #2 on: November 14, 2006, 01:26:38 AM »
Works perfectly - thanks!