You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Dan Mahoney, System Admin" <da...@prime.gushi.org> on 2013/03/11 04:57:02 UTC

Re: [sa-list] Re: How to log detected locale/language?

On Fri, 8 Mar 2013, Axb wrote:

> On 03/08/2013 04:46 PM, Dan Mahoney, System Admin wrote:
>> Hey there all,
>> 
>> It seems a pretty core function in SA is the ok_languages and ok_locales
>> function.
>> 
>> I'd like to be able to turn on LOGGING of detected locales before I set
>> which are "ok" (or specifically, which are "less ok")
>> 
>> I'm sure there's a knob for this somewhere, can anyone tell me where?
>> 
>
> Nice someone documented this:
>
> http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.txt
>
> _LANGUAGES_
>
> so now what?
>
> a few lines later it tells us what to do
>
> add_header all X-BLAHTYPE  _LANGUAGES_
>
> add that to your local.cf and reload SA, glue, coffee machine.
>
> does this do what you want?

Mostly, but I can't figure out how to get the LOCALE (which is purely 
characterset based) to work.  What's the logging macro for that one?

-Dan

-- 

"I wish the Real World would just stop hassling me!"

-Matchbox 20, Real World, off the album "Yourself or Someone Like You"


--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------