At 09:57 AM 6/29/04 +0900, sb ch wrote:
I would like to set spamassassin config file at system-wise and user-specific together.
So, I would like to set "required_hits 8" at system-wide and "required_hits 10" at some user-specific.
So, "required_hits 8" at /etc/mail/spamassassin/local.cf file "required_hits 10" at $HOME/.spamassassin/user_prefs


Is this some problem?
What can I do to set like this?
"required_hits  " is 8 for all users except some users.
"required_hits"  is 10 for some users.

Yes, you can do that.. user_prefs will over-ride local.cf. Duplication of settings isn't an error, as files are parsed the newer ones just clobber the existing setting.



However, make sure that your using some mechanism to ensure the proper user_prefs file is read..


SA will NOT read the "to" line of a message to figure out which user the message is for (it would be unreliable anyway), you have to launch SA as that user's login, or use the -u parameter to spamc.





Reply via email to