On Sun, 2006-11-12 at 02:06 -0800, twofers wrote: > I am trying to find out if I can change some prefs so that the new > user_prefs file will contain my prefs when it is newly created. > > I have changed prefs in user_prefs.template and that didn't make any > difference. I assume this template is supposed to be used by SA to > create the new user_prefs, but it doesn't seem so.
The user_prefs file should be created in ~/.spamassassin/user_prefs. Is it? And if it is, does it contain your templated stuff? Aside from putting the user-specific config in the right place, spamassassin has to been told to use it. In your site-local spamassassin config file (probably /etc/mail/spamassassin/local.cf) or in a separate .cf file in the same directory as that file, add this line: allow_user_rules 1 This is however a bad idea unless you have very trustworthy users. Also note this (from the spamassassin man page): Note that it is not currently possible to use "allow_user_rules" to modify an existing system rule from a "user_prefs" file with "spamd". You saw this mentioned in the user_prefs stuff you quoted: [...]users can add new rules for their own use in the "~/.spamassassin/user_prefs" file, if they like. (spamd disables this for security and increased speed.) Regards, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer ([EMAIL PROTECTED]) +61-2-64957160 (h) http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)