How to upload global *.cf files to SpamAssasin

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
57
Location
Poland
Hello,

How to upload a global *.cf files to SpamAssasin? I have own policies to detect spam and I wan't turn it on globally.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,774
Location
LT, EU
Global config is in standard location /etc/mail/spamassassin/local.cf.
 

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
57
Location
Poland
Thanks, I do include at the end of file main local.cf :) And have you idea, how to include a global blacklist_from policies?
 

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
57
Location
Poland
I have similar question. What is best option to auto include userprefs to SpamAssasin for all users? I have many,many entries with blacklist from, and I wan't set it globally.
 

jordivn

Verified User
Joined
Nov 4, 2016
Messages
51
~/.spamassassin/user_prefs is included by default when it runs as the user i tought.

So add you blacklisted in local.cf and user changes (example: whitelist) is overruling local.
 
Top