On Wed, 2007-12-05 at 17:00 +0100, Axel Werner wrote:
> im looking for some "opposit" parameters of "ok_locales" to
> make spamassassin mark all incoming mail of some specific charsets or 
> language settings (locales) to get marked by default.
> 
> for example: since i life in western europe i never expect mails from 
> eastern europe, asia, afrika or something like that. especialy if they 
> use their locale charset n stuff.
> 
> so im looking for some parameter doing a
> 
> "if locate is not western-europe or western mark mail as spam"
                ^^^                   ^^^^^^^
> is there something i did not found in all the manuals and google searches??!

The documentation itself?
 
http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#language_options

ok_locales en  # Western character sets in general


However, note that unlike your desired behavior, this will NOT "mark
mail as spam". It will result in non-western charsets to trigger some
rules (there are a couple) and thus add to the score. No single rule
marks a mail as spam.

The combined scored rules are likely to pitchfork the mail beyond the
spam threshold, though, since the default scores for CHARSET_FARAWAY*
aren't particularly lightweight.

  guenther


-- 
char *t="[EMAIL PROTECTED]";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to