At 11:04 AM 9/1/2004, Theo Van Dinter wrote:
Yes, but what if people use spamd?  LANG for spamc is irrelevent, and the LANG
for spamd is a global default.

Hmm, good point.. For some reason I was thinking when you did a setuid you picked up the .profile for the user you setuid'ed to, but that's clearly not the case (and I should know better).




What I would guess is that the code should use LANG, but a configuration
option "use_language" (or something) would reset LANG appropriately.
Therefore "spamassassin" and "sa-learn" can do the right thing, and spamd
would have an option to change LANG at run-time.

That seems quite reasonable.




Reply via email to