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.
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk