Koozali.org: home of the SME Server

Spamassassin: Need help to activate local All

Offline Mjohnson

  • *
  • 172
  • +0/-0
Spamassassin: Need help to activate local All
« on: August 28, 2007, 04:21:37 AM »
It appears in the default application of spamassassin (/etc/mail/spamassassin/local.cf) that the local feature is set to "all".

How do you change this to "en"? 

I am attempting to limit the amount of chinese/korean character set emails I receive.  SA does not seem to tag them high enough to trip the spam tag.

Thanks

MJ
......

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Spamassassin: Need help to activate local All
« Reply #1 on: August 28, 2007, 07:20:34 AM »
Mjohnson
Quote
(/etc/mail/spamassassin/local.cf) that the local feature is set to "all".
How do you change this to "en"? 

config show spamassassin
gives (in my case)

spamassassin=service
    BayesAutoLearnThresholdNonspam=0.10
    BayesAutoLearnThresholdSpam=4.00
    DNSAvailable=yes
    MessageRetentionTime=35
    OkLanguages=all
    OkLocales=all
    RejectLevel=14
    ReportSafe=0
    Sensitivity=custom
    SkipRBLChecks=0
    SortSpam=enabled
    Subject=[SPAM]
    SubjectTag=disabled
    TagLevel=4
    UseBayes=1
    status=enabled

I have not done it myself but therefore assume you can do:

config setprop spamassassin OkLocales en

signal-event email-update

Test it & let us know
...

Offline Mjohnson

  • *
  • 172
  • +0/-0
Re: Spamassassin: Need help to activate local All
« Reply #2 on: August 28, 2007, 02:27:46 PM »
Thanks Ray,

Your suggestion has affected the change.  I will report back in a couple of days as to the results.

Much appreciated.

MJ
......

Offline Mjohnson

  • *
  • 172
  • +0/-0
Re: Spamassassin: Need help to activate local All
« Reply #3 on: September 01, 2007, 03:42:37 PM »
Results confirmed.  The change has eliminated all non "en" emails.

Thanks again.
......