Page 1 of 1

/home/{user}/.spamassassin/user_prefs seem to be ignored

Posted: 08 Mar 2022, 06:10
by ThomasT
I've created a couple of custom rules, and placed them in the user_prefs file, and also tried the /usr/mailscanner/etc/spamassassin.user.prefs.conf file, and none of my rules are getting triggered.

Is there a way that turns this functionality on/off?

An example rule might be:
header TT_TEST_BY_SUBJECT Subject =~ /SomeText/i
score TT_TEST_BY_SUBJECT -0.1

Please advise.

Re: /home/{user}/.spamassassin/user_prefs seem to be ignored

Posted: 08 Mar 2022, 08:54
by Sarah
With MailScanner/MSFE, user-specific spamassassin preferences are not used. It only uses the central .cf files in /etc/mail/spamassassin.

Re: /home/{user}/.spamassassin/user_prefs seem to be ignored

Posted: 09 Mar 2022, 05:11
by ThomasT
Is there a way I can enable the per account user_prefs ?

Looks like I can add any *.cf file here.