On Tue, 2008-11-11 at 09:59 -0600, Matt wrote:
> I appear to have TextCat on my server:
> 
> locate TextCat
> /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/TextCat.pm
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/TextCat.pm
> /usr/share/man/man3/Mail::SpamAssassin::Plugin::TextCat.3pm.gz
> /usr/share/man/man3/Mail::SpamAssassin::Plugin::TextCat.3pm
> 
> I think I have it enabled in local.conf:

There is no such file. Or rather, if there is, it isn't being used. ;)
Anyway, this should better go inside a .pre file like, say, v310.pre.
You can un-comment it there.

> loadplugin     Mail::SpamAssassin::Plugin::TextCat
> 
> Why does it not add any headers to messages indicating language?  Any
> idea what I am doing wrong?

You didn't read the docs. :)
  
http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_TextCat.html

If you want headers indicating the language, you need to specifically
enable this using add_header. Oh, and it won't score either, unless you
actually define *your* wanted languages other than the default "all".

  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; }}}

  • TextCat Matt
    • Re: TextCat Karsten Bräckelmann

Reply via email to