> Daniel Quinlan wrote:
>
> > The language guessing code (now in CVS) might have been able to detect
> > that it was Korean if you set your preferences to "ok_languages en" or
> > such (it's turned off by default).
>
> Shouldn't this be "ok_languages english"? At least that's what one of your
> original messages about the patch said. This isn't in the
> documentation yet
> so I wasn't sure of the syntax.

To answer my own question after some testing, "en" is the correct value.

Also, the language stuff doesn't work if you simply turn it on. I get this
error:

>Failed to run UNDESIRED_LANGUAGE_BODY SpamAssassin test, skipping:
>        (cannot open languages: No such file or directory
>)

A bit of testing reveals that TextCat.pm is trying to use this:
$self->{main}->{rules_filename}

And it's coming out empty, so the "languages" file isn't found. I tried
hardcoding the path to the rules directory in TextCat.pm and now it works.
Not sure what the real solution is.

Oh, I also had to manually copy the "languages" file from CVS to the rules
directory. It isn't in make install.

--
michael moncur   mgm at starlingtech.com   http://www.starlingtech.com/
"A good listener is a good talker with a sore throat."  -- Katharine
Whitehorn


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to