You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Karsten Bräckelmann <gu...@rudersport.de> on 2008/02/18 19:31:04 UTC

Re: FW: Rule for Russian character sets (=?koi8-r? not quite acharset)

On Mon, 2008-02-18 at 09:36 +1300, Michael Hutchinson wrote:
> > > We don't want to "only allow" the English locale, because we (here at
> > > my work) do not want our international clients (non Russian) to be
> > > denied email service.
> > 
> > ok_locales  en ja ko th zh
> > 
> > This will allow anything but Cyrillic char sets. Please note that en
> > does *not* mean "English locale" despite its name. It applies to all
> > Western charsets, including German Umlauts, Swedisch, French, Turkish,
> > etc. Basically everything that uses the characters in this post, plus
> > language specific chars.
>  
> Ok now we're talking turkey. Thanks for providing the much needed
> clarity on ok_locales. I may just employ that technique yet, pending
> whether we get any more Russian spam through the gates.
> 
> > Sorry, I did not mean to troll nor any kind of offense.
> 
> You have my apologies, as being a Friday afternoon, I was pretty sick of
> work and shouldn't have taken it out on you or the list. Sorry.

> > Hope this clarifies my previous posts and is appreciated again...
> 
> Your posts are appreciated, and sorry for the mean comment.

Thanks.  No offense taken, no harm done, don't worry. :)

  guenther


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
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; }}}