• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Spamassassin Body & Header Rules

BDMM

Basic Pleskian
Hi,
I am running spamassassin with amavis and clamav.

Can anyone point me in the right direction to add custom body rules, server wide, for spamassasin.
The rulesets need to not be overwritten after updates and using the plesk control panel.

I need to block those annoying Domain SEO spam emails and other text strings

body SEO_SPAM_RULE /Domain SEO/i
score SEO_SPAM_RULE 10
describe SEO_SPAM_RULE Seo Spam

Thanks
 
Hi BDMM,

pls. locate your "local.cf" file(s) on your server,

( mostly located at "/etc/mail/spamassassin/local.cf" or/and "/usr/share/spamassassin/local.cf" /or/and "/var/lib/spamassassin/X.XXXXXX/updates_spamassassin_org/local.cf" - depending to your own/unique used installation paths! )​

with a "locate" ( needs the "mlocate" - package to be installed on your server and requires then an updated "mlocate" - database, which should be updated on a regulary basis with the command "updatedb" over the command line, to get decent / actual search results! ) - command for example:
Code:
locate local.cf
... and insert your ( custom / additional ) rule sets there.


 
Back
Top