• 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.

Help with SpamAssassin

T

Torgut

Guest
Hello !

I was trying to create a rule. However, it's not working.

File edited: /etc/mail/spamassassin/local.cf

Rule Added:

header LR_SUBJECT_WROTE Subject =~ /\wrote\b/i
score LR_SUBJECT_WROTE 4.5
describe LR_SUBJECT_WROTE Contem Wrote

I restarted SpamAssassin service and after that I sent an email to my account with the following subject:

Ricardo Wrote



I think it should be filtrated. Still, it managed to reach my mailbox. In the the header I noticed SpamAssassin used the rule but it seems it didn't apply the score:

X-Spam-Status: No, score=3.0 required=4.0 tests=AWL,BAYES_00,LR_SUBJECT_WROTE,
MSGID_FROM_MTA_HEADER autolearn=no version=3.0.6
 
I can't get Plesk to accept any chanegs I do to SpamAssassin...

I edit the /etc/mail/spamassassin/local.cf file, restart SpamAssassin and nothing changes.

spamassassin --lint shows everything is OK, but the rules never show up.

Right now I'm just trying to get the report headers on all of the email (not just SPAM) so I added:

add_header all Report _REPORT_

I have also tried specific rules (right now trying to kill all the "someopne wrote:" emails I am getting flooded with. I tried this, but nothing changes:

header LOCAL_WROTE_SUBJECT Subject =~ /wrote:/i
score LOCAL_WROTE_SUBJECT 0.1

If anyone knows how to change the rules in SpamAssassin please let me know. It seems like Plesk is doing something strange that prevents changing anything.

- DigDreams
 
Back
Top