Where to put custom SA rules (local.cf doesn't work)
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 test_email@hotmail.com, 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.
-
Am I supposed to just make a new /etc/mail/spamassassin/custom.cf file and put my rules in there? (And of course, /scripts/restartsrv_spamd)? 0 -
Am I supposed to just make a new /etc/mail/spamassassin/custom.cf file and put my rules in there? (And of course, /scripts/restartsrv_spamd)?
That's exactly what I did and have never had any issues. Custom rules and customised scoring etc.0 -
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. 0 -
Hello, This is answered on the following thread: cPanel overwriting SA rules on a daily basis Thank you. 0
Please sign in to leave a comment.
Comments
4 comments