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

Discuss our MailScanner install script and MailScanner itself
Post Reply
ThomasT
Junior Member
Posts: 4
Joined: 29 Jul 2021, 08:17

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

Post 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.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

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

Post by Sarah »

With MailScanner/MSFE, user-specific spamassassin preferences are not used. It only uses the central .cf files in /etc/mail/spamassassin.
ThomasT
Junior Member
Posts: 4
Joined: 29 Jul 2021, 08:17

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

Post by ThomasT »

Is there a way I can enable the per account user_prefs ?

Looks like I can add any *.cf file here.
Last edited by ThomasT on 09 Mar 2022, 05:41, edited 2 times in total.
Post Reply