Matt Kettler wrote:
> At 01:12 AM 11/18/03 +0100, Samuel Murez wrote:
>> Hello--
>>
>> Could somebody please take just a minute to tell me how to do this ?
>>
>> It seems very simple but I've tried many solutions and nothing's
>> working !
>>
>> I would like one of my users to receive spamassassin template
>> messages in french, while the rest continue receiving them in
>> english.
>>
>> I know the template is /usr/share/spamassassin/30_text_fr.cf
>>
>> I've tried copying the contents of the whole file into the
>> user_prefs.
>> I've tried that with "lang fr"
>> I've even tried copying the whole thing into
>> /etc/mail/spamassassin/local.cf and restarting spamd.
>
> First, /usr/share/spamsassin/30_text_fr.cf is always parsed by
> spamassassin. There's no reason to copy it to your user_prefs. It's
> fine where it is. All of the *.cf files in /usr/share/spamassassin
> are always used by SA, and copying them anywhere else on your system
> does nothing.
>
> Next, to get SA to use the french language, you need to set an
> environment variable.. This does not go into any spamassassin config
> files, this is an environment variable, free to be used by any
> program within your shell.
>
> So at a shell prompt, or in one of your shell scripts, you need to
> run this before you run any SA tools:
>
>    export LANG=fr
>
> SA will use the language settings which match the LANG variable of
> your environment.. note that other programs may or may not do the
> same as SA.

Thanks for anwering ! I was really puzzled by this. So there's no way to get
french messages for one user and english for all other users ?

--sam



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to