On Sat, Aug 23, 2025 at 9:34 AM Haines Brown <[email protected]> wrote:
> In the apache manual I read > > - /usr/share/spamassassin/user_prefs.template: > > "Distributed default user preferences. Do not modify this, as it > is overwritten when you upgrade." > > - /etc/mail/spamassassin/user_prefs.template: > > "Default user preferences, for system admins to create, modify, and > set defaults for users' preferences files. Takes precedence over > the above prefs file, if it exists." > > "Do not put system-wide settings in here; put them in a file in the > "/etc/mail/spamassassin" directory ending in ".cf". This file is > just a template, which will be copied to a user's home directory > for them to change." > > ... > > "Unless you're using spamd, there is no difference in > interpretation between the rules file and the preferences file, > so 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.)" > > I believe I did exactly as suggested. I copied the template to > create the file ~/.spanassassin/ user_prefs and did not change > the default values. Instead I appended to the user_prefs file a > list of addresses I would like to blacklist. These lines are in > the form > > [email protected] > > but perhaps used to use the form > > blacklist_from [email protected] > > and so appended a list in that form as well. > > The ~/.Spamassassin directory is owned by me and has a 755 > permission. The user_prefs file in that directory is also owned > by me and has a 644 permission. > > I am in the debian-spamd120 group. A question: is this > necessary? > > In case spamassassin needs restarting I restarted spamd. > A queston: is it necessary to do so? > > All this has no effect. How do I get spamd to use the > user_prefs file? Years ago I did it without problem. Also see <https://wiki.debian.org/DebianSpamAssassin>. Jeff

