• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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