Where to put custom SA rules (local.cf doesn't work)

Maknet Corp

Member
Jul 14, 2015
24
2
3
Canada
cPanel Access Level
Root Administrator
My understanding is that to make some custom rules, you should edit:

/etc/mail/spamassassin/local.cf

It's been moved to:
/etc/mail/spamassassin/local.cf.rpmsave

after the last update and now when I put something in, like:

blacklist_from [email protected], it doesn't seem to work.

According to this, local.cf is no longer supported as of version 54:
Custom SpamAssassin Rules

So, does anyone know the "correct way" to put in custom, server-wide rules in WHM?

Thanks.
 
Last edited:
  • Like
Reactions: rpvw

keat63

Well-Known Member
Nov 20, 2014
1,963
267
113
cPanel Access Level
Root Administrator
If you don't manage this, there is an exim config change that you can do which allows you to build an email blacklist.
I've put this in to practice an it works well.