• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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