Justin Mason wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > "Samuel Murez" writes: >> 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 ? > > There is -- modify the config so when SpamAssassin runs for *that* > user the LANG var is set appropriately. > > (This unfortunately depends on the installed MTA and how SpamAssassin > is hooked into it. But for procmail, if I recall correctly it's just > a line in the .procmailrc) > > - --j. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > Comment: Exmh CVS > > iD8DBQE/uqqVQTcbUG5Y7woRAjQxAKDYWq7jN+IEtu5yylUB9aJ5YJUIEQCfcEC9 > lDTddxJoPLnv3QczfcVM0Lo= > =jpAW > -----END PGP SIGNATURE-----
What about with spamd called by qmail scanner ? I'm using qmail 1.03 with qmailqueue patch, vpopmail, qmail-scanner 1.20, spamassassin 2.60, clamav 0.65, on redhat linux 9. Is there any way to get different languages for different users ? Thanks, --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