Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Mjohnson on August 28, 2007, 04:21:37 AM

Title: Spamassassin: Need help to activate local All
Post by: Mjohnson 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
Title: Re: Spamassassin: Need help to activate local All
Post by: raem 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
Title: Re: Spamassassin: Need help to activate local All
Post by: Mjohnson 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
Title: Re: Spamassassin: Need help to activate local All
Post by: Mjohnson on September 01, 2007, 03:42:37 PM
Results confirmed.  The change has eliminated all non "en" emails.

Thanks again.