SpamAssassin custom rule - cPanel 68
I'm looking desperately for a way to create a GLOBAL rule (default to all domains) to score some domains on SpamAssassin, but using a config file without touch the cPanel native installation.
My 5 cPanel servers are receiving lots of spam from domains like:
something.cf
something.tk
something.online
and so
I want to score +5 points on SpamAssassin to all *.cf, *.tk domains, etc.
My tests with local.cf are not working :(
Please help!
Thank you
-
My tests with local.cf are not working
Hello, That's the correct method of modifying the SpamAssassin configuration file globally. However, it's possible a custom user preference is overriding the global value. See this thread: Thank you.0 -
Got it. Thank you. To help others: header __FROM_TLDFROM From =~ /\.(cf|ga|ml|tk|bid|book|click|club|cricket|date|democrat|directory|download|faith|help|host|link|ninja|online|party|press|pro|racing|reviews?|rocks|science|site|social|space|stream|top|uno|webcam|website|work|win|xyz)\>/i header __FROM_TLDFROMA From:address =~ /\.(cf|ga|ml|tk|bid|book|click|club|cricket|date|democrat|directory|download|faith|help|host|link|ninja|online|party|press|pro|racing|reviews?|rocks|science|site|social|space|stream|top|uno|webcam|website|win|work|xyz)$/i meta FROM_TLD ( __FROM_TLDFROM + __FROM_TLDFROMA >= 1 ) score FROM_TLD 8 describe FROM_TLD Bad TLD0
Please sign in to leave a comment.
Comments
2 comments