Matt Kettler <[EMAIL PROTECTED]> writes:

> Harry Putnam wrote:
>> running spamassassin-3.1.0
>>
>> I hoped to filter messages on the basis of non-english subject line so
>> went looking in the files spama uses.  I see something about FOREIGN
>> language but then it dawned on me, being horribly colloquial, not to
>> mention near illiterate, how FOREIGN is totally subjective.
>>
>> For my usage, anything that is not in english is spam.  Maybe not
>> techniquely in some far fetched case but still something I cannot
>> use. 
>>
>> Any one have examples of a spama filter based on that?
>>   
>
> This is already built-in to SA. Under man Mail::SpamAssassin::Conf see
> the option "ok_languages".

Thanks.. I'd gone right by that in Mail::SpamAssassin::Conf.  Must
have been the locales term that caused me to cruise right by.
I've always been confused by that term.

SA has gotten a lot more sophisticated since I tinkered with it a
couple of years ago.  I could have knocked out more than %70 or more
of my spam with this single setting long ago.
  ok_locales en

Reply via email to